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

Macros

#define SPI_CPOL_Low   ((uint16_t)0x0000)
 
#define SPI_CPOL_High   ((uint16_t)0x0002)
 
#define IS_SPI_CPOL(CPOL)
 

Detailed Description

Macro Definition Documentation

#define IS_SPI_CPOL (   CPOL)
Value:
(((CPOL) == SPI_CPOL_Low) || \
((CPOL) == SPI_CPOL_High))

Definition at line 170 of file stm32f10x_spi.h.

#define SPI_CPOL_High   ((uint16_t)0x0002)

Definition at line 169 of file stm32f10x_spi.h.

#define SPI_CPOL_Low   ((uint16_t)0x0000)

Definition at line 168 of file stm32f10x_spi.h.