uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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_RxOnly) || \
((MODE) == SPI_Direction_1Line_Rx) || \

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.