uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SPI_direction_transmit_receive

Macros

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

Detailed Description

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