1.27.25.17 TWIHS_SLAVE_TRANSFER_DIR Enum

C

/* TWIHS slave mode */

typedef enum
{
    /* TWIHS Master is writing to slave */
    TWIHS_SLAVE_TRANSFER_DIR_WRITE = 0,

    /* TWIHS Master is reading from slave */
    TWIHS_SLAVE_TRANSFER_DIR_READ  = 1,
}TWIHS_SLAVE_TRANSFER_DIR;

Summary

Defines the enum for TWI data transfer direction.

Description

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

Remarks

None.