STM32F4 Standard Peripheral bibliotheek
1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
Main Page
Modules
Data Structures
Files
All
Data Structures
Files
Functions
Variables
Enumerations
Enumerator
Groups
Macros
USART_Flags
USART_Exported_Constants
Macros
#define
USART_FLAG_CTS
((uint16_t)0x0200)
#define
USART_FLAG_LBD
((uint16_t)0x0100)
#define
USART_FLAG_TXE
((uint16_t)0x0080)
#define
USART_FLAG_TC
((uint16_t)0x0040)
#define
USART_FLAG_RXNE
((uint16_t)0x0020)
#define
USART_FLAG_IDLE
((uint16_t)0x0010)
#define
USART_FLAG_ORE
((uint16_t)0x0008)
#define
USART_FLAG_NE
((uint16_t)0x0004)
#define
USART_FLAG_FE
((uint16_t)0x0002)
#define
USART_FLAG_PE
((uint16_t)0x0001)
#define
IS_USART_FLAG
(FLAG)
#define
IS_USART_CLEAR_FLAG
(FLAG) ((((FLAG) & (uint16_t)0xFC9F) == 0x00) && ((FLAG) != (uint16_t)0x00))
#define
IS_USART_BAUDRATE
(BAUDRATE) (((BAUDRATE) > 0) && ((BAUDRATE) < 7500001))
#define
IS_USART_ADDRESS
(ADDRESS) ((ADDRESS) <= 0xF)
#define
IS_USART_DATA
(DATA) ((DATA) <= 0x1FF)
Detailed Description
Macro Definition Documentation
#define IS_USART_FLAG
(
FLAG
)
Value:
(((FLAG) == USART_FLAG_PE) || ((FLAG) == USART_FLAG_TXE) || \
((FLAG) == USART_FLAG_TC) || ((FLAG) == USART_FLAG_RXNE) || \
((FLAG) == USART_FLAG_IDLE) || ((FLAG) == USART_FLAG_LBD) || \
((FLAG) == USART_FLAG_CTS) || ((FLAG) == USART_FLAG_ORE) || \
((FLAG) == USART_FLAG_NE) || ((FLAG) == USART_FLAG_FE))
Generated on Thu Feb 13 2014 18:54:14 for STM32F4 Standard Peripheral bibliotheek by
1.8.3.1