Macros
I2C Error Code definition
Peripheral Driver » HAL Driver » I2C » Defines » I2C Exported Constants
Collaboration diagram for I2C Error Code definition:

## Macros
#define | HAL_I2C_ERROR_NONE (0x00000000U)
| No error More...
#define | HAL_I2C_ERROR_INVALID_PARAM (0x00000001U)
| Invalid parameter error More...
#define | HAL_I2C_ERROR_ARB_LOST (0x00000002U)
| Arbitration lost error More...
#define | HAL_I2C_ERROR_NOACK (0x00000004U)
| No acknowledge error More...
#define | HAL_I2C_ERROR_OVER (0x00000008U)
| RX_OVER error More...
#define | HAL_I2C_ERROR_SCL_STUCK_AT_LOW (0x00000010U)
| SCL_STUCK_AT_LOW error More...
#define | HAL_I2C_ERROR_SDA_STUCK_AT_LOW (0x00000020U)
| SCL_STUCK_AT_LOW error More...
#define | HAL_I2C_ERROR_DMA (0x00000040U)
| DMA transfer error More...
#define | HAL_I2C_ERROR_TIMEOUT (0x00000080U)
| Timeout error More...
#define | HAL_I2C_ERROR_NOTE (0x00000100U)
| No TE error More...

## Detailed Description

## Macro Definition Documentation

## ◆ HAL_I2C_ERROR_ARB_LOST

#define HAL_I2C_ERROR_ARB_LOST (0x00000002U)

Arbitration lost error

Definition at line 268 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_DMA

#define HAL_I2C_ERROR_DMA (0x00000040U)

DMA transfer error

Definition at line 273 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_INVALID_PARAM

#define HAL_I2C_ERROR_INVALID_PARAM (0x00000001U)

Invalid parameter error

Definition at line 267 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_NOACK

#define HAL_I2C_ERROR_NOACK (0x00000004U)

No acknowledge error

Definition at line 269 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_NONE

#define HAL_I2C_ERROR_NONE (0x00000000U)

No error

Definition at line 266 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_NOTE

#define HAL_I2C_ERROR_NOTE (0x00000100U)

No TE error

Definition at line 275 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_OVER

#define HAL_I2C_ERROR_OVER (0x00000008U)

RX_OVER error

Definition at line 270 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_SCL_STUCK_AT_LOW

#define HAL_I2C_ERROR_SCL_STUCK_AT_LOW (0x00000010U)

SCL_STUCK_AT_LOW error

Definition at line 271 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_SDA_STUCK_AT_LOW

#define HAL_I2C_ERROR_SDA_STUCK_AT_LOW (0x00000020U)

SCL_STUCK_AT_LOW error

Definition at line 272 of file gr55xx_hal_i2c.h.

## ◆ HAL_I2C_ERROR_TIMEOUT

#define HAL_I2C_ERROR_TIMEOUT (0x00000080U)

Timeout error

Definition at line 274 of file gr55xx_hal_i2c.h.