I2C Error Code definition. More...
Macros | |
#define | HAL_I2C_ERROR_NONE (0x00000000U) |
#define | HAL_I2C_ERROR_BERR (0x00000001U) |
#define | HAL_I2C_ERROR_ARLO (0x00000002U) |
#define | HAL_I2C_ERROR_AF (0x00000004U) |
#define | HAL_I2C_ERROR_OVR (0x00000008U) |
#define | HAL_I2C_ERROR_DMA (0x00000010U) |
#define | HAL_I2C_ERROR_TIMEOUT (0x00000020U) |
#define | HAL_I2C_ERROR_SIZE (0x00000040U) |
#define | HAL_I2C_ERROR_DMA_PARAM (0x00000080U) |
#define | HAL_I2C_ERROR_INVALID_PARAM (0x00000200U) |
#define | I2C_MODE_STD 0x0 |
#define | I2C_MODE_FS 0x1 |
#define | I2C_MODE_HS_STD 0x2 |
#define | I2C_MODE_HS_FS 0x3 |
I2C Error Code definition.
#define HAL_I2C_ERROR_AF (0x00000004U) |
ACKF error
#define HAL_I2C_ERROR_ARLO (0x00000002U) |
ARLO error
#define HAL_I2C_ERROR_BERR (0x00000001U) |
BERR error
#define HAL_I2C_ERROR_DMA (0x00000010U) |
DMA transfer error
#define HAL_I2C_ERROR_DMA_PARAM (0x00000080U) |
DMA Parameter Error
#define HAL_I2C_ERROR_INVALID_PARAM (0x00000200U) |
Invalid Parameters error
#define HAL_I2C_ERROR_NONE (0x00000000U) |
No error
#define HAL_I2C_ERROR_OVR (0x00000008U) |
OVR error
#define HAL_I2C_ERROR_SIZE (0x00000040U) |
Size Management error
#define HAL_I2C_ERROR_TIMEOUT (0x00000020U) |
Timeout error