STM32F10x Standard Peripherals Library  3.5.0
SPI_Clock_Phase

Defines

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

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