STM CMSIS

I2C Error Code. More...

Macros

#define HAL_I2C_ERROR_NONE   ((uint32_t)0x00000000U)
 
#define HAL_I2C_ERROR_BERR   ((uint32_t)0x00000001U)
 
#define HAL_I2C_ERROR_ARLO   ((uint32_t)0x00000002U)
 
#define HAL_I2C_ERROR_AF   ((uint32_t)0x00000004U)
 
#define HAL_I2C_ERROR_OVR   ((uint32_t)0x00000008U)
 
#define HAL_I2C_ERROR_DMA   ((uint32_t)0x00000010U)
 
#define HAL_I2C_ERROR_TIMEOUT   ((uint32_t)0x00000020U)
 

Detailed Description

I2C Error Code.

Macro Definition Documentation

◆ HAL_I2C_ERROR_AF

#define HAL_I2C_ERROR_AF   ((uint32_t)0x00000004U)

AF error

◆ HAL_I2C_ERROR_ARLO

#define HAL_I2C_ERROR_ARLO   ((uint32_t)0x00000002U)

ARLO error

◆ HAL_I2C_ERROR_BERR

#define HAL_I2C_ERROR_BERR   ((uint32_t)0x00000001U)

BERR error

◆ HAL_I2C_ERROR_DMA

#define HAL_I2C_ERROR_DMA   ((uint32_t)0x00000010U)

DMA transfer error

◆ HAL_I2C_ERROR_NONE

#define HAL_I2C_ERROR_NONE   ((uint32_t)0x00000000U)

No error

◆ HAL_I2C_ERROR_OVR

#define HAL_I2C_ERROR_OVR   ((uint32_t)0x00000008U)

OVR error

◆ HAL_I2C_ERROR_TIMEOUT

#define HAL_I2C_ERROR_TIMEOUT   ((uint32_t)0x00000020U)

Timeout Error