Macros
I2C Error Code definition
Peripheral Driver » HAL Driver » I2C » Defines » I2C Exported Constants

## Macros
#define | HAL_I2C_ERROR_NONE (0x00000000U)
#define | HAL_I2C_ERROR_ARB_LOST (0x00000002U)
#define | HAL_I2C_ERROR_NOACK (0x00000004U)
#define | HAL_I2C_ERROR_OVER (0x00000008U)
#define | HAL_I2C_ERROR_DMA (0x00000010U)
#define | HAL_I2C_ERROR_TIMEOUT (0x00000020U)

## Detailed Description

## Macro Definition Documentation

## ◆ HAL_I2C_ERROR_ARB_LOST

#define HAL_I2C_ERROR_ARB_LOST (0x00000002U)

Arbitration lost error

## ◆ HAL_I2C_ERROR_DMA

#define HAL_I2C_ERROR_DMA (0x00000010U)

DMA transfer error

## ◆ HAL_I2C_ERROR_NOACK

#define HAL_I2C_ERROR_NOACK (0x00000004U)

No acknowledge error

## ◆ HAL_I2C_ERROR_NONE

#define HAL_I2C_ERROR_NONE (0x00000000U)

No error

## ◆ HAL_I2C_ERROR_OVER

#define HAL_I2C_ERROR_OVER (0x00000008U)

RX_OVER error

## ◆ HAL_I2C_ERROR_TIMEOUT

#define HAL_I2C_ERROR_TIMEOUT (0x00000020U)

Timeout error