STM32L486xx 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_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 183 of file stm32l4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler().

#define HAL_I2C_ERROR_BERR   (0x00000001U)

BERR error

Definition at line 182 of file stm32l4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler().

#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 185 of file stm32l4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler().

#define HAL_I2C_ERROR_SIZE   (0x00000040U)

Size Management error

Definition at line 188 of file stm32l4xx_hal_i2c.h.

Referenced by I2C_Master_ISR_DMA(), and I2C_Master_ISR_IT().

#define HAL_I2C_ERROR_TIMEOUT   (0x00000020U)