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

Macros

#define SPI_DataSize_16b   ((uint16_t)0x0800)
 
#define SPI_DataSize_8b   ((uint16_t)0x0000)
 
#define IS_SPI_DATASIZE(DATASIZE)
 

Detailed Description

Macro Definition Documentation

#define IS_SPI_DATASIZE (   DATASIZE)
Value:
(((DATASIZE) == SPI_DataSize_16b) || \
((DATASIZE) == SPI_DataSize_8b))

Definition at line 158 of file stm32f10x_spi.h.

#define SPI_DataSize_16b   ((uint16_t)0x0800)

Definition at line 156 of file stm32f10x_spi.h.

#define SPI_DataSize_8b   ((uint16_t)0x0000)

Definition at line 157 of file stm32f10x_spi.h.