DIY Logging Volt/Ampmeter
I2C Error Code definition

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_WRONG_START   0x00000200U
 

Detailed Description

I2C Error Code definition.

Macro Definition Documentation

◆ HAL_I2C_ERROR_AF

#define HAL_I2C_ERROR_AF   0x00000004U

AF error

Definition at line 167 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_ERROR_ARLO

#define HAL_I2C_ERROR_ARLO   0x00000002U

ARLO error

Definition at line 166 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_ERROR_BERR

#define HAL_I2C_ERROR_BERR   0x00000001U

BERR error

Definition at line 165 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_ERROR_DMA

#define HAL_I2C_ERROR_DMA   0x00000010U

DMA transfer error

Definition at line 169 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_ERROR_DMA_PARAM

#define HAL_I2C_ERROR_DMA_PARAM   0x00000080U

DMA Parameter Error

Definition at line 172 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_ERROR_NONE

#define HAL_I2C_ERROR_NONE   0x00000000U

No error

Definition at line 164 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_ERROR_OVR

#define HAL_I2C_ERROR_OVR   0x00000008U

OVR error

Definition at line 168 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_ERROR_SIZE

#define HAL_I2C_ERROR_SIZE   0x00000040U

Size Management error

Definition at line 171 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_ERROR_TIMEOUT

#define HAL_I2C_ERROR_TIMEOUT   0x00000020U

Timeout Error

Definition at line 170 of file stm32f1xx_hal_i2c.h.

◆ HAL_I2C_WRONG_START

#define HAL_I2C_WRONG_START   0x00000200U

Wrong start Error

Definition at line 173 of file stm32f1xx_hal_i2c.h.