1.7.23.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