STM32F10x Standard Peripherals Library
3.5.0
|
Defines | |
#define | SPI_Direction_2Lines_FullDuplex ((uint16_t)0x0000) |
#define | SPI_Direction_2Lines_RxOnly ((uint16_t)0x0400) |
#define | SPI_Direction_1Line_Rx ((uint16_t)0x8000) |
#define | SPI_Direction_1Line_Tx ((uint16_t)0xC000) |
#define | IS_SPI_DIRECTION_MODE(MODE) |
#define IS_SPI_DIRECTION_MODE | ( | MODE | ) |
(((MODE) == SPI_Direction_2Lines_FullDuplex) || \ ((MODE) == SPI_Direction_2Lines_RxOnly) || \ ((MODE) == SPI_Direction_1Line_Rx) || \ ((MODE) == SPI_Direction_1Line_Tx))
Definition at line 132 of file stm32f10x_spi.h.
#define SPI_Direction_1Line_Rx ((uint16_t)0x8000) |
Definition at line 130 of file stm32f10x_spi.h.
#define SPI_Direction_1Line_Tx ((uint16_t)0xC000) |
Definition at line 131 of file stm32f10x_spi.h.
#define SPI_Direction_2Lines_FullDuplex ((uint16_t)0x0000) |
Definition at line 128 of file stm32f10x_spi.h.
#define SPI_Direction_2Lines_RxOnly ((uint16_t)0x0400) |
Definition at line 129 of file stm32f10x_spi.h.