|
#define | I2C_IT_BUF ((uint16_t)0x0400) |
|
#define | I2C_IT_EVT ((uint16_t)0x0200) |
|
#define | I2C_IT_ERR ((uint16_t)0x0100) |
|
#define | IS_I2C_CONFIG_IT(IT) ((((IT) & (uint16_t)0xF8FF) == 0x00) && ((IT) != 0x00)) |
|
#define | I2C_IT_SMBALERT ((uint32_t)0x01008000) |
|
#define | I2C_IT_TIMEOUT ((uint32_t)0x01004000) |
|
#define | I2C_IT_PECERR ((uint32_t)0x01001000) |
|
#define | I2C_IT_OVR ((uint32_t)0x01000800) |
|
#define | I2C_IT_AF ((uint32_t)0x01000400) |
|
#define | I2C_IT_ARLO ((uint32_t)0x01000200) |
|
#define | I2C_IT_BERR ((uint32_t)0x01000100) |
|
#define | I2C_IT_TXE ((uint32_t)0x06000080) |
|
#define | I2C_IT_RXNE ((uint32_t)0x06000040) |
|
#define | I2C_IT_STOPF ((uint32_t)0x02000010) |
|
#define | I2C_IT_ADD10 ((uint32_t)0x02000008) |
|
#define | I2C_IT_BTF ((uint32_t)0x02000004) |
|
#define | I2C_IT_ADDR ((uint32_t)0x02000002) |
|
#define | I2C_IT_SB ((uint32_t)0x02000001) |
|
#define | IS_I2C_CLEAR_IT(IT) ((((IT) & (uint16_t)0x20FF) == 0x00) && ((IT) != (uint16_t)0x00)) |
|
#define | IS_I2C_GET_IT(IT) |
|