STM32F10x Standard Peripherals Library  3.5.0
SPI_direction_transmit_receive

Defines

#define SPI_Direction_Rx   ((uint16_t)0xBFFF)
#define SPI_Direction_Tx   ((uint16_t)0x4000)
#define IS_SPI_DIRECTION(DIRECTION)

Define Documentation

#define IS_SPI_DIRECTION (   DIRECTION)
Value:
(((DIRECTION) == SPI_Direction_Rx) || \
                                     ((DIRECTION) == SPI_Direction_Tx))

Definition at line 372 of file stm32f10x_spi.h.

#define SPI_Direction_Rx   ((uint16_t)0xBFFF)

Definition at line 370 of file stm32f10x_spi.h.

#define SPI_Direction_Tx   ((uint16_t)0x4000)

Definition at line 371 of file stm32f10x_spi.h.