SPI_data_direction
[SPI_Exported_Constants]

Defines

#define IS_SPI_DIRECTION_MODE(MODE)
#define SPI_Direction_1Line_Rx   ((uint16_t)0x8000)
#define SPI_Direction_1Line_Tx   ((uint16_t)0xC000)
#define SPI_Direction_2Lines_FullDuplex   ((uint16_t)0x0000)
#define SPI_Direction_2Lines_RxOnly   ((uint16_t)0x0400)

Define Documentation

#define IS_SPI_DIRECTION_MODE ( MODE   ) 
Value:
(((MODE) == SPI_Direction_2Lines_FullDuplex) || \
                                     ((MODE) == SPI_Direction_2Lines_RxOnly) || \
                                     ((MODE) == SPI_Direction_1Line_Rx) || \
                                     ((MODE) == SPI_Direction_1Line_Tx))

Definition at line 131 of file stm32f10x_spi.h.

Referenced by SPI_Init().

#define SPI_Direction_1Line_Rx   ((uint16_t)0x8000)

Definition at line 129 of file stm32f10x_spi.h.

Referenced by main().

#define SPI_Direction_1Line_Tx   ((uint16_t)0xC000)

Definition at line 130 of file stm32f10x_spi.h.

Referenced by main().

#define SPI_Direction_2Lines_FullDuplex   ((uint16_t)0x0000)
#define SPI_Direction_2Lines_RxOnly   ((uint16_t)0x0400)

Definition at line 128 of file stm32f10x_spi.h.

Referenced by main().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32