1.18.10.16 I2C_SLAVE_TRANSFER_DIR Enum

C

/* I2C slave mode */

typedef enum
{
    /* I2C Master is writing to slave */
    I2C_SLAVE_TRANSFER_DIR_WRITE = 0,

    /* I2C Master is reading from slave */
    I2C_SLAVE_TRANSFER_DIR_READ  = 1,
}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 I2Cx_TransferDirGet() function.

Remarks

None.