1.8.7.71 1.25.6.71 1.26.5.71 1.27.5.71 1.28.6.71 1.36.7.69 1.41.5.71 1.42.3.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.