1.25.6.71 FLEXCOM_TWI_SLAVE_TRANSFER_DIR Enum

C

/* TWI slave mode */

typedef enum
{
    /* FLEXCOM TWI Master is writing to slave */
    FLEXCOM_TWI_SLAVE_TRANSFER_DIR_WRITE = 0,

    /* FLEXCOM TWI Master is reading from slave */
    FLEXCOM_TWI_SLAVE_TRANSFER_DIR_READ  = 1,
}FLEXCOM_TWI_SLAVE_TRANSFER_DIR;

Summary

Defines the enum for TWI data transfer direction.

Description

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

Remarks

None.