MG32F157 Standard Peripherals Firmware Library
Macros
SPI_I2S_interrupts_definition
MG32F157_StdPeriph_Driver
»
SPI
»
SPI_Exported_Constants
Macros
#define
SPI_I2S_IT_TXE
((uint8_t)0x71)
#define
SPI_I2S_IT_RXNE
((uint8_t)0x60)
#define
SPI_I2S_IT_ERR
((uint8_t)0x50)
#define
IS_SPI_I2S_CONFIG_IT
(IT)
#define
SPI_I2S_IT_OVR
((uint8_t)0x56)
#define
SPI_IT_MODF
((uint8_t)0x55)
#define
SPI_IT_CRCERR
((uint8_t)0x54)
#define
I2S_IT_UDR
((uint8_t)0x53)
#define
IS_SPI_I2S_CLEAR_IT
(IT) (((IT) == SPI_IT_CRCERR))
#define
IS_SPI_I2S_GET_IT
(IT)
Detailed Description
Macro Definition Documentation
◆
IS_SPI_I2S_CONFIG_IT
#define IS_SPI_I2S_CONFIG_IT
(
IT
)
Value:
(((IT) == SPI_I2S_IT_TXE) || \
((IT) == SPI_I2S_IT_RXNE) || \
((IT) == SPI_I2S_IT_ERR))
◆
IS_SPI_I2S_GET_IT
#define IS_SPI_I2S_GET_IT
(
IT
)
Value:
(((IT) == SPI_I2S_IT_RXNE) || ((IT) == SPI_I2S_IT_TXE) || \
((IT) == I2S_IT_UDR) || ((IT) == SPI_IT_CRCERR) || \
((IT) == SPI_IT_MODF) || ((IT) == SPI_I2S_IT_OVR))
Generated by Megawin Technology (Shenzhen) Corp., Ltd. All rights reserved.