USART Interrupt definition USART_IT possible values Elements values convention: 0xZZZZYYXX XX: Position of the corresponding Interrupt YY: Register index ZZZZ: Flag position.
More...
|
#define | USART_IT_WU ((uint32_t)0x00140316) |
|
#define | USART_IT_CM ((uint32_t)0x0011010E) |
|
#define | USART_IT_EOB ((uint32_t)0x000C011B) |
|
#define | USART_IT_RTO ((uint32_t)0x000B011A) |
|
#define | USART_IT_PE ((uint32_t)0x00000108) |
|
#define | USART_IT_TXE ((uint32_t)0x00070107) |
|
#define | USART_IT_TC ((uint32_t)0x00060106) |
|
#define | USART_IT_RXNE ((uint32_t)0x00050105) |
|
#define | USART_IT_IDLE ((uint32_t)0x00040104) |
|
#define | USART_IT_LBD ((uint32_t)0x00080206) |
|
#define | USART_IT_CTS ((uint32_t)0x0009030A) |
|
#define | USART_IT_ERR ((uint32_t)0x00000300) |
|
#define | USART_IT_ORE ((uint32_t)0x00030300) |
|
#define | USART_IT_NE ((uint32_t)0x00020300) |
|
#define | USART_IT_FE ((uint32_t)0x00010300) |
|
#define | IS_USART_CONFIG_IT(IT) |
|
#define | IS_USART_GET_IT(IT) |
|
#define | IS_USART_CLEAR_IT(IT) |
|
USART Interrupt definition USART_IT possible values Elements values convention: 0xZZZZYYXX XX: Position of the corresponding Interrupt YY: Register index ZZZZ: Flag position.
#define IS_USART_CLEAR_IT |
( |
|
IT | ) |
|
Value:(((IT) == USART_IT_TC) || ((IT) == USART_IT_PE) || \
((IT) == USART_IT_FE) || ((IT) == USART_IT_NE) || \
((IT) == USART_IT_ORE) || ((IT) == USART_IT_IDLE) || \
((IT) == USART_IT_LBD) || ((IT) == USART_IT_CTS) || \
((IT) == USART_IT_RTO) || ((IT) == USART_IT_EOB) || \
((IT) == USART_IT_CM) || ((IT) == USART_IT_WU))
#define IS_USART_CONFIG_IT |
( |
|
IT | ) |
|
Value:(((IT) == USART_IT_PE) || ((IT) == USART_IT_TXE) || \
((IT) == USART_IT_TC) || ((IT) == USART_IT_RXNE) || \
((IT) == USART_IT_IDLE) || ((IT) == USART_IT_LBD) || \
((IT) == USART_IT_CTS) || ((IT) == USART_IT_ERR) || \
((IT) == USART_IT_RTO) || ((IT) == USART_IT_EOB) || \
((IT) == USART_IT_CM) || ((IT) == USART_IT_WU))
#define IS_USART_GET_IT |
( |
|
IT | ) |
|
Value:(((IT) == USART_IT_PE) || ((IT) == USART_IT_TXE) || \
((IT) == USART_IT_TC) || ((IT) == USART_IT_RXNE) || \
((IT) == USART_IT_IDLE) || ((IT) == USART_IT_LBD) || \
((IT) == USART_IT_CTS) || ((IT) == USART_IT_ORE) || \
((IT) == USART_IT_NE) || ((IT) == USART_IT_FE) || \
((IT) == USART_IT_RTO) || ((IT) == USART_IT_EOB) || \
((IT) == USART_IT_CM) || ((IT) == USART_IT_WU))