STM32F10x Standard Peripherals Library  3.5.0
SPI_Clock_Polarity

Defines

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

Define 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.