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

Macros

#define SPI_CPHA_1Edge   ((uint16_t)0x0000)
 
#define SPI_CPHA_2Edge   ((uint16_t)0x0001)
 
#define IS_SPI_CPHA(CPHA)
 

Detailed Description

Macro Definition Documentation

#define IS_SPI_CPHA (   CPHA)
Value:
(((CPHA) == SPI_CPHA_1Edge) || \
((CPHA) == SPI_CPHA_2Edge))

Definition at line 182 of file stm32f10x_spi.h.

#define SPI_CPHA_1Edge   ((uint16_t)0x0000)

Definition at line 180 of file stm32f10x_spi.h.

#define SPI_CPHA_2Edge   ((uint16_t)0x0001)

Definition at line 181 of file stm32f10x_spi.h.