STM32F2 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F2 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
USART_Interrupt_definition

Modules

 USART_Legacy
 

Macros

#define USART_IT_PE   ((uint16_t)0x0028)
 
#define USART_IT_TXE   ((uint16_t)0x0727)
 
#define USART_IT_TC   ((uint16_t)0x0626)
 
#define USART_IT_RXNE   ((uint16_t)0x0525)
 
#define USART_IT_ORE_RX   ((uint16_t)0x0325) /* In case interrupt is generated if the RXNEIE bit is set */
 
#define USART_IT_IDLE   ((uint16_t)0x0424)
 
#define USART_IT_LBD   ((uint16_t)0x0846)
 
#define USART_IT_CTS   ((uint16_t)0x096A)
 
#define USART_IT_ERR   ((uint16_t)0x0060)
 
#define USART_IT_ORE_ER   ((uint16_t)0x0360) /* In case interrupt is generated if the EIE bit is set */
 
#define USART_IT_NE   ((uint16_t)0x0260)
 
#define USART_IT_FE   ((uint16_t)0x0160)
 
#define IS_USART_CONFIG_IT(IT)
 
#define IS_USART_GET_IT(IT)
 
#define IS_USART_CLEAR_IT(IT)
 

Detailed Description

Macro Definition Documentation

#define IS_USART_CLEAR_IT (   IT)
Value:
(((IT) == USART_IT_TC) || ((IT) == USART_IT_RXNE) || \
((IT) == USART_IT_LBD) || ((IT) == USART_IT_CTS))
#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))
#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_ORE_RX) || ((IT) == USART_IT_ORE_ER) || \
((IT) == USART_IT_NE) || ((IT) == USART_IT_FE))