MG32L003 Standard Peripherals Firmware Library

宏定义
I2C_Flag_definition
MG32L003_StdPeriph_Driver » I2C » I2C_Exported_Constants

## 宏定义
#define | I2C_FLAG_ERROR_UNDER ((uint32_t)0x00000000U)
#define | I2C_FLAG_USELESS ((uint32_t)0x000000F8U)
#define | I2C_FLAG_MASTER_TX_START ((uint32_t)0x00000008U)
#define | I2C_FLAG_MASTER_TX_RESTART ((uint32_t)0x00000010U)
#define | I2C_FLAG_MASTER_TX_SLAW_ACK ((uint32_t)0x00000018U)
#define | I2C_FLAG_MASTER_TX_SLAW_NOACK ((uint32_t)0x00000020U)
#define | I2C_FLAG_MASTER_TX_DATA_ACK ((uint32_t)0x00000028U)
#define | I2C_FLAG_MASTER_TX_DATA_NOACK ((uint32_t)0x00000030U)
#define | I2C_FLAG_MASTER_TX_LOST_SCL ((uint32_t)0x00000038U)
#define | I2C_FLAG_MASTER_RX_START ((uint32_t)0x00000008U)
#define | I2C_FLAG_MASTER_RX_RESTART ((uint32_t)0x00000010U)
#define | I2C_FLAG_MASTER_RX_SLAW_ACK ((uint32_t)0x00000040U)
#define | I2C_FLAG_MASTER_RX_SLAW_NOACK ((uint32_t)0x00000048U)
#define | I2C_FLAG_MASTER_RX_DATA_ACK ((uint32_t)0x00000050U)
#define | I2C_FLAG_MASTER_RX_DATA_NOACK ((uint32_t)0x00000058U)
#define | I2C_FLAG_MASTER_RX_LOST_SCL ((uint32_t)0x00000038U)
#define | I2C_FLAG_SLAVE_TX_SLAW_ACK ((uint32_t)0x000000A8U)
#define | I2C_FLAG_SLAVE_TX_DATA_ACK ((uint32_t)0x000000B8U)
#define | I2C_FLAG_SLAVE_TX_DATA_NOACK ((uint32_t)0x000000C0U)
#define | I2C_FLAG_SLAVE_TX_DATA_LAST ((uint32_t)0x000000C8U)
#define | I2C_FLAG_SLAVE_TX_LOST_SCL ((uint32_t)0x000000B0U)
#define | I2C_FLAG_SLAVE_RX_SLAW_ACK ((uint32_t)0x00000060U)
#define | I2C_FLAG_SLAVE_RX_BROAD_ACK ((uint32_t)0x00000070U)
#define | I2C_FLAG_SLAVE_RX_SDATA_ACK ((uint32_t)0x00000080U)
#define | I2C_FLAG_SLAVE_RX_SDATA_NOACK ((uint32_t)0x00000088U)
#define | I2C_FLAG_SLAVE_RX_BDATA_ACK ((uint32_t)0x00000090U)
#define | I2C_FLAG_SLAVE_RX_BDATA_NOACK ((uint32_t)0x00000098U)
#define | I2C_FLAG_SLAVE_RX_SA_LOST_SCL ((uint32_t)0x00000068U)
#define | I2C_FLAG_SLAVE_RX_BA_LOST_SCL ((uint32_t)0x00000078U)
#define | I2C_FLAG_SLAVE_STOP_RESTART ((uint32_t)0x000000A0U)

## 详细描述