STM8L15x Standard Peripherals Drivers
|
Defines | |
#define | IS_USART_CLEAR_FLAG(Flag) |
#define | IS_USART_FLAG(Flag) |
Enumerations | |
enum | USART_FLAG_TypeDef { USART_FLAG_TXE = (uint16_t)0x0080, USART_FLAG_TC = (uint16_t)0x0040, USART_FLAG_RXNE = (uint16_t)0x0020, USART_FLAG_IDLE = (uint16_t)0x0010, USART_FLAG_OR = (uint16_t)0x0008, USART_FLAG_NF = (uint16_t)0x0004, USART_FLAG_FE = (uint16_t)0x0002, USART_FLAG_PE = (uint16_t)0x0001, USART_FLAG_SBK = (uint16_t)0x0101 } |
Define Documentation
#define IS_USART_CLEAR_FLAG | ( | Flag | ) |
Value:
(((Flag) == USART_FLAG_TC) || \ ((Flag) == USART_FLAG_RXNE))
Definition at line 71 of file stm8l15x_usart.h.
Referenced by USART_ClearFlag().
#define IS_USART_FLAG | ( | Flag | ) |
Value:
(((Flag) == USART_FLAG_TXE) || \ ((Flag) == USART_FLAG_TC) || \ ((Flag) == USART_FLAG_RXNE) || \ ((Flag) == USART_FLAG_IDLE) || \ ((Flag) == USART_FLAG_OR) || \ ((Flag) == USART_FLAG_NF) || \ ((Flag) == USART_FLAG_FE) || \ ((Flag) == USART_FLAG_PE) || \ ((Flag) == USART_FLAG_SBK))
Definition at line 60 of file stm8l15x_usart.h.
Referenced by USART_GetFlagStatus().
Enumeration Type Documentation
enum USART_FLAG_TypeDef |
Definition at line 47 of file stm8l15x_usart.h.