#define __STM32F2xx_USART_H
@defgroup USART_Exported_Constants * @{
#define IS_USART_ALL_PERIPH( PERIPH )
#define IS_USART_1236_PERIPH( PERIPH )
@defgroup USART_Word_Length * @{
#define USART_WordLength_8b
#define USART_WordLength_9b
#define IS_USART_WORD_LENGTH( LENGTH )
@defgroup USART_Stop_Bits * @{
#define USART_StopBits_1
#define USART_StopBits_0_5
#define USART_StopBits_2
#define USART_StopBits_1_5
#define IS_USART_STOPBITS( STOPBITS )
@defgroup USART_Parity * @{
#define USART_Parity_No
#define USART_Parity_Even
#define USART_Parity_Odd
#define IS_USART_PARITY( PARITY )
@defgroup USART_Mode * @{
#define USART_Mode_Rx
#define USART_Mode_Tx
#define IS_USART_MODE( MODE )
@defgroup USART_Hardware_Flow_Control * @{
#define USART_HardwareFlowControl_None
#define USART_HardwareFlowControl_RTS
#define USART_HardwareFlowControl_CTS
#define USART_HardwareFlowControl_RTS_CTS
#define IS_USART_HARDWARE_FLOW_CONTROL( CONTROL )
@defgroup USART_Clock * @{
#define USART_Clock_Disable
#define USART_Clock_Enable
#define IS_USART_CLOCK( CLOCK )
@defgroup USART_Clock_Polarity * @{
#define USART_CPOL_Low
#define USART_CPOL_High
#define IS_USART_CPOL( CPOL )
@defgroup USART_Clock_Phase * @{
#define USART_CPHA_1Edge
#define USART_CPHA_2Edge
#define IS_USART_CPHA( CPHA )
@defgroup USART_Last_Bit * @{
#define USART_LastBit_Disable
#define USART_LastBit_Enable
#define IS_USART_LASTBIT( LASTBIT )
@defgroup USART_Interrupt_definition * @{
#define USART_IT_PE
#define USART_IT_TXE
#define USART_IT_TC
#define USART_IT_RXNE
#define USART_IT_IDLE
#define USART_IT_LBD
#define USART_IT_CTS
#define USART_IT_ERR
#define USART_IT_ORE
#define USART_IT_NE
#define USART_IT_FE
#define IS_USART_CONFIG_IT( IT )
#define IS_USART_GET_IT( IT )
#define IS_USART_CLEAR_IT( IT )
@defgroup USART_DMA_Requests * @{
#define USART_DMAReq_Tx
#define USART_DMAReq_Rx
#define IS_USART_DMAREQ( DMAREQ )
@defgroup USART_WakeUp_methods * @{
#define USART_WakeUp_IdleLine
#define USART_WakeUp_AddressMark
#define IS_USART_WAKEUP( WAKEUP )
@defgroup USART_LIN_Break_Detection_Length * @{
#define USART_LINBreakDetectLength_10b
#define USART_LINBreakDetectLength_11b
#define IS_USART_LIN_BREAK_DETECT_LENGTH( LENGTH )
@defgroup USART_IrDA_Low_Power * @{
#define USART_IrDAMode_LowPower
#define USART_IrDAMode_Normal
#define IS_USART_IRDA_MODE( MODE )
@defgroup USART_Flags * @{
#define USART_FLAG_CTS
#define USART_FLAG_LBD
#define USART_FLAG_TXE
#define USART_FLAG_TC
#define USART_FLAG_RXNE
#define USART_FLAG_IDLE
#define USART_FLAG_ORE
#define USART_FLAG_NE
#define USART_FLAG_FE
#define USART_FLAG_PE
#define IS_USART_FLAG( FLAG )
#define IS_USART_CLEAR_FLAG( FLAG )
#define IS_USART_BAUDRATE( BAUDRATE )
#define IS_USART_ADDRESS( ADDRESS )
#define IS_USART_DATA( DATA )
typedef struct {...} USART_InitTypeDef
struct | |
{ | |
uint32_t USART_BaudRate; | |
uint16_t USART_WordLength; | |
uint16_t USART_StopBits; | |
uint16_t USART_Parity; | |
uint16_t USART_Mode; | |
uint16_t USART_HardwareFlowControl; | |
} |
typedef struct {...} USART_ClockInitTypeDef
struct | |
{ | |
uint16_t USART_Clock; | |
uint16_t USART_CPOL; | |
uint16_t USART_CPHA; | |
uint16_t USART_LastBit; | |
} |