STM32F479xx HAL User Manual
Defines
I2C Error Code definition
I2C Exported Types

I2C Error Code definition. More...

Defines

#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_WRONG_START   0x00000200U
#define HAL_I2C_ERROR_INVALID_CALLBACK   0x00000100U

Detailed Description

I2C Error Code definition.


Define Documentation

#define HAL_I2C_ERROR_AF   0x00000004U
#define HAL_I2C_ERROR_ARLO   0x00000002U

ARLO error

Definition at line 166 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler(), and I2C_ITError().

#define HAL_I2C_ERROR_BERR   0x00000001U

BERR error

Definition at line 165 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler(), and I2C_ITError().

#define HAL_I2C_ERROR_DMA   0x00000010U
#define HAL_I2C_ERROR_DMA_PARAM   0x00000080U
#define HAL_I2C_ERROR_INVALID_CALLBACK   0x00000100U
#define HAL_I2C_ERROR_NONE   0x00000000U
#define HAL_I2C_ERROR_OVR   0x00000008U

OVR error

Definition at line 168 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler(), and I2C_ITError().

#define HAL_I2C_ERROR_SIZE   0x00000040U

Size Management error

Definition at line 171 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Mem_Write_DMA().

#define HAL_I2C_ERROR_TIMEOUT   0x00000020U
#define HAL_I2C_WRONG_START   0x00000200U