uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Macros

#define USART_Parity_No   ((uint16_t)0x0000)
 
#define USART_Parity_Even   ((uint16_t)0x0400)
 
#define USART_Parity_Odd   ((uint16_t)0x0600)
 
#define IS_USART_PARITY(PARITY)
 

Detailed Description

Macro Definition Documentation

#define IS_USART_PARITY (   PARITY)
Value:
(((PARITY) == USART_Parity_No) || \
((PARITY) == USART_Parity_Even) || \
((PARITY) == USART_Parity_Odd))

Definition at line 157 of file stm32f10x_usart.h.

#define USART_Parity_Even   ((uint16_t)0x0400)

Definition at line 155 of file stm32f10x_usart.h.

#define USART_Parity_No   ((uint16_t)0x0000)

Definition at line 154 of file stm32f10x_usart.h.

#define USART_Parity_Odd   ((uint16_t)0x0600)

Definition at line 156 of file stm32f10x_usart.h.