MG32F157 Standard Peripherals Firmware Library
Macros

Macros

#define USART_StopBits_1   ((uint16_t)0x0000)
 
#define USART_StopBits_0_5   ((uint16_t)0x1000)
 
#define USART_StopBits_2   ((uint16_t)0x2000)
 
#define USART_StopBits_1_5   ((uint16_t)0x3000)
 
#define IS_USART_STOPBITS(STOPBITS)
 

Detailed Description

Macro Definition Documentation

◆ IS_USART_STOPBITS

#define IS_USART_STOPBITS (   STOPBITS)
Value:
(((STOPBITS) == USART_StopBits_1) || \
((STOPBITS) == USART_StopBits_0_5) || \
((STOPBITS) == USART_StopBits_2) || \
((STOPBITS) == USART_StopBits_1_5))