STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
SPI_data_direction

Macros

#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)
 

Detailed Description

Macro Definition 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))