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

Macros

#define SPI_I2S_FLAG_RXNE   ((uint16_t)0x0001)
 
#define SPI_I2S_FLAG_TXE   ((uint16_t)0x0002)
 
#define I2S_FLAG_CHSIDE   ((uint16_t)0x0004)
 
#define I2S_FLAG_UDR   ((uint16_t)0x0008)
 
#define SPI_FLAG_CRCERR   ((uint16_t)0x0010)
 
#define SPI_FLAG_MODF   ((uint16_t)0x0020)
 
#define SPI_I2S_FLAG_OVR   ((uint16_t)0x0040)
 
#define SPI_I2S_FLAG_BSY   ((uint16_t)0x0080)
 
#define IS_SPI_I2S_CLEAR_FLAG(FLAG)   (((FLAG) == SPI_FLAG_CRCERR))
 
#define IS_SPI_I2S_GET_FLAG(FLAG)
 

Detailed Description

Macro Definition Documentation

#define I2S_FLAG_CHSIDE   ((uint16_t)0x0004)

Definition at line 406 of file stm32f10x_spi.h.

#define I2S_FLAG_UDR   ((uint16_t)0x0008)

Definition at line 407 of file stm32f10x_spi.h.

#define IS_SPI_I2S_CLEAR_FLAG (   FLAG)    (((FLAG) == SPI_FLAG_CRCERR))

Definition at line 412 of file stm32f10x_spi.h.

#define IS_SPI_I2S_GET_FLAG (   FLAG)
Value:
(((FLAG) == SPI_I2S_FLAG_BSY) || ((FLAG) == SPI_I2S_FLAG_OVR) || \
((FLAG) == SPI_FLAG_MODF) || ((FLAG) == SPI_FLAG_CRCERR) || \
((FLAG) == I2S_FLAG_UDR) || ((FLAG) == I2S_FLAG_CHSIDE) || \
((FLAG) == SPI_I2S_FLAG_TXE) || ((FLAG) == SPI_I2S_FLAG_RXNE))

Definition at line 413 of file stm32f10x_spi.h.

#define SPI_FLAG_CRCERR   ((uint16_t)0x0010)

Definition at line 408 of file stm32f10x_spi.h.

#define SPI_FLAG_MODF   ((uint16_t)0x0020)

Definition at line 409 of file stm32f10x_spi.h.

#define SPI_I2S_FLAG_BSY   ((uint16_t)0x0080)

Definition at line 411 of file stm32f10x_spi.h.

#define SPI_I2S_FLAG_OVR   ((uint16_t)0x0040)

Definition at line 410 of file stm32f10x_spi.h.

#define SPI_I2S_FLAG_RXNE   ((uint16_t)0x0001)

Definition at line 404 of file stm32f10x_spi.h.

#define SPI_I2S_FLAG_TXE   ((uint16_t)0x0002)

Definition at line 405 of file stm32f10x_spi.h.