1.2.21.84 1.3.25.84 1.4.21.84 1.5.25.84 1.6.22.84 1.7.23.84 1.9.19.84 1.29.23.84 1.30.18.84 1.31.18.84 1.32.26.84 1.33.16.84 1.37.18.84 1.38.21.84 1.39.18.84 1.40.20.84 SERCOM_I2C_ERROR Enum

C

/* I2C master mode */

typedef enum
{
    /* No error has occurred. */
    SERCOM_I2C_ERROR_NONE,
    
    /* A bus transaction was NAK'ed */
    SERCOM_I2C_ERROR_NAK,
    
    /* A bus error has occurred. */
    SERCOM_I2C_ERROR_BUS,
    
} SERCOM_I2C_ERROR;

Summary

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

Description

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

Remarks

None