1.11.12.16 1.12.12.16 1.13.11.16 1.15.11.16 1.16.9.16 1.17.9.16 1.18.10.16 1.19.9.16 1.20.9.16 1.21.10.16 1.22.14.16 1.23.13.16 1.24.11.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.