STM32F10x Standard Peripherals Library  3.5.0
SPI_mode

Defines

#define SPI_Mode_Master   ((uint16_t)0x0104)
#define SPI_Mode_Slave   ((uint16_t)0x0000)
#define IS_SPI_MODE(MODE)

Define Documentation

#define IS_SPI_MODE (   MODE)
Value:
(((MODE) == SPI_Mode_Master) || \
                           ((MODE) == SPI_Mode_Slave))

Definition at line 146 of file stm32f10x_spi.h.

#define SPI_Mode_Master   ((uint16_t)0x0104)

Definition at line 144 of file stm32f10x_spi.h.

#define SPI_Mode_Slave   ((uint16_t)0x0000)

Definition at line 145 of file stm32f10x_spi.h.