1.15.11.20 I2C_ERROR Enum

C

/* I2C master mode */

typedef enum
{
    /* No Error */
    I2C_ERROR_NONE,

    /* Slave returned Nack */
    I2C_ERROR_NACK,

    /* Bus Collision Error */
    I2C_ERROR_BUS_COLLISION,

} I2C_ERROR;

Summary

Defines the possible errors that the I2C peripheral can generate in I2C master mode.

Description

This enum defines the possible errors the I2C peripheral can generate when it is configured in master mode. An error of this type is returned by the I2Cx_ErrorGet() function.

Remarks

None