1.31.18.82 SERCOM_I2C_SLAVE_ACK_STATUS Enum

C

/* I2C slave mode */

typedef enum
{
    /* Received ACK from I2C master for the last byte sent */
    SERCOM_I2C_SLAVE_ACK_STATUS_RECEIVED_ACK = 0,
    
    /* Received NAK from I2C master for the last byte sent */
    SERCOM_I2C_SLAVE_ACK_STATUS_RECEIVED_NAK,
}SERCOM_I2C_SLAVE_ACK_STATUS;

Summary

Defines the enum for the I2C slave acknowledgement.

Description

Defines the enum for the I2C slave acknowledgement. Enum of this type is returned by the SERCOMx_I2C_LastByteAckStatusGet() function.

Remarks

None.