STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
I2C Error Code definition

I2C Error Code definition. More...

Collaboration diagram for I2C Error Code definition:

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_NONE

◆ HAL_I2C_ERROR_BERR

#define HAL_I2C_ERROR_BERR   0x00000001U

#include <stm32f4xx_hal_i2c.h>

BERR error

Definition at line 164 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler(), and I2C_ITError().

◆ HAL_I2C_ERROR_ARLO

#define HAL_I2C_ERROR_ARLO   0x00000002U

#include <stm32f4xx_hal_i2c.h>

ARLO error

Definition at line 165 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler(), and I2C_ITError().

◆ HAL_I2C_ERROR_AF

◆ HAL_I2C_ERROR_OVR

#define HAL_I2C_ERROR_OVR   0x00000008U

#include <stm32f4xx_hal_i2c.h>

OVR error

Definition at line 167 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_ER_IRQHandler(), and I2C_ITError().

◆ HAL_I2C_ERROR_DMA

◆ HAL_I2C_ERROR_TIMEOUT

◆ HAL_I2C_ERROR_SIZE

#define HAL_I2C_ERROR_SIZE   0x00000040U

#include <stm32f4xx_hal_i2c.h>

Size Management error

Definition at line 170 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Mem_Write_DMA().

◆ HAL_I2C_ERROR_DMA_PARAM

◆ HAL_I2C_WRONG_START

#define HAL_I2C_WRONG_START   0x00000200U