1.33.16.78 SERCOM_I2C_SLAVE_INTFLAG Enum

C

/* I2C slave with interrupt disabled */

typedef enum
{
    /* Stop condition received interrupt flag*/
    SERCOM_I2C_SLAVE_INTFLAG_PREC = SERCOM_I2CS_INTFLAG_PREC_Msk,
    
    /* Addresss match interrupt flag */
    SERCOM_I2C_SLAVE_INTFLAG_AMATCH = SERCOM_I2CS_INTFLAG_AMATCH_Msk,
    
    /* Data ready interrupt flag */
    SERCOM_I2C_SLAVE_INTFLAG_DRDY = SERCOM_I2CS_INTFLAG_DRDY_Msk,
    
    /* Error occurred interrupt flag */
    SERCOM_I2C_SLAVE_INTFLAG_ERROR = SERCOM_I2CS_INTFLAG_ERROR_Msk,
}SERCOM_I2C_SLAVE_INTFLAG;

Summary

Defines the enum for the I2C slave interrupt flags.

Description

Defines the enum for the I2C slave interrupt flags. Interrupt flag of this type is returned by the SERCOMx_I2C_InterruptFlagsGet() function.

Remarks

All the interrupt flags may not be available on SERCOM of the selected device. Refer the device specific datasheet or the header file of the generated code for the interrupt flags available on the device.