1.11.12.20 1.12.12.20 1.13.11.20 1.15.11.20 1.16.9.20 1.17.9.20 1.18.10.20 1.19.9.20 1.20.9.20 1.21.10.20 1.22.14.20 1.23.13.20 1.24.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