CARME-M4 BSP
V1.5
|
Macros | |
#define | I2C_FLAG_DUALF ((uint32_t)0x00800000) |
SR2 register flags. | |
#define | I2C_FLAG_SMBHOST ((uint32_t)0x00400000) |
#define | I2C_FLAG_SMBDEFAULT ((uint32_t)0x00200000) |
#define | I2C_FLAG_GENCALL ((uint32_t)0x00100000) |
#define | I2C_FLAG_TRA ((uint32_t)0x00040000) |
#define | I2C_FLAG_BUSY ((uint32_t)0x00020000) |
#define | I2C_FLAG_MSL ((uint32_t)0x00010000) |
#define | I2C_FLAG_SMBALERT ((uint32_t)0x10008000) |
SR1 register flags. | |
#define | I2C_FLAG_TIMEOUT ((uint32_t)0x10004000) |
#define | I2C_FLAG_PECERR ((uint32_t)0x10001000) |
#define | I2C_FLAG_OVR ((uint32_t)0x10000800) |
#define | I2C_FLAG_AF ((uint32_t)0x10000400) |
#define | I2C_FLAG_ARLO ((uint32_t)0x10000200) |
#define | I2C_FLAG_BERR ((uint32_t)0x10000100) |
#define | I2C_FLAG_TXE ((uint32_t)0x10000080) |
#define | I2C_FLAG_RXNE ((uint32_t)0x10000040) |
#define | I2C_FLAG_STOPF ((uint32_t)0x10000010) |
#define | I2C_FLAG_ADD10 ((uint32_t)0x10000008) |
#define | I2C_FLAG_BTF ((uint32_t)0x10000004) |
#define | I2C_FLAG_ADDR ((uint32_t)0x10000002) |
#define | I2C_FLAG_SB ((uint32_t)0x10000001) |
#define | IS_I2C_CLEAR_FLAG(FLAG) ((((FLAG) & (uint16_t)0x20FF) == 0x00) && ((FLAG) != (uint16_t)0x00)) |
#define | IS_I2C_GET_FLAG(FLAG) |
#define IS_I2C_GET_FLAG | ( | FLAG | ) |
Definition at line 301 of file stm32f4xx_i2c.h.