1.29.23.77 SERCOM_I2C_SLAVE_TRANSFER_DIR Enum

C

/* I2C slave mode */

typedef enum
{
    /* I2C Master is writing to slave */
    SERCOM_I2C_SLAVE_TRANSFER_DIR_WRITE = 0,
    
    /* I2C Master is reading from slave */
    SERCOM_I2C_SLAVE_TRANSFER_DIR_READ = 1,
}SERCOM_I2C_SLAVE_TRANSFER_DIR;

Summary

Defines the enum for I2C data transfer direction.

Description

Defines the enum for I2C data transfer direction. The enumeration of this type is returned by the SERCOMx_I2C_TransferDirGet() function.

Remarks

None