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

Macros

#define USART_CPHA_1Edge   ((uint16_t)0x0000)
 
#define USART_CPHA_2Edge   ((uint16_t)0x0200)
 
#define IS_USART_CPHA(CPHA)   (((CPHA) == USART_CPHA_1Edge) || ((CPHA) == USART_CPHA_2Edge))
 

Detailed Description

Macro Definition Documentation

#define IS_USART_CPHA (   CPHA)    (((CPHA) == USART_CPHA_1Edge) || ((CPHA) == USART_CPHA_2Edge))

Definition at line 220 of file stm32f10x_usart.h.

#define USART_CPHA_1Edge   ((uint16_t)0x0000)

Definition at line 218 of file stm32f10x_usart.h.

#define USART_CPHA_2Edge   ((uint16_t)0x0200)

Definition at line 219 of file stm32f10x_usart.h.