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

Macros

#define USART_CPOL_Low   ((uint16_t)0x0000)
 
#define USART_CPOL_High   ((uint16_t)0x0400)
 
#define IS_USART_CPOL(CPOL)   (((CPOL) == USART_CPOL_Low) || ((CPOL) == USART_CPOL_High))
 

Detailed Description

Macro Definition Documentation

#define IS_USART_CPOL (   CPOL)    (((CPOL) == USART_CPOL_Low) || ((CPOL) == USART_CPOL_High))

Definition at line 208 of file stm32f10x_usart.h.

#define USART_CPOL_High   ((uint16_t)0x0400)

Definition at line 207 of file stm32f10x_usart.h.

#define USART_CPOL_Low   ((uint16_t)0x0000)

Definition at line 206 of file stm32f10x_usart.h.