1.35.18.16 TWIHS_SLAVE_TRANSFER_EVENT Enum

C

/* TWIHS slave with interrupt enabled */

typedef enum
{
    TWIHS_SLAVE_TRANSFER_EVENT_NONE = 0,

    /* Address match event */
    TWIHS_SLAVE_TRANSFER_EVENT_ADDR_MATCH,

    /* Data sent by I2C Master is available */
    TWIHS_SLAVE_TRANSFER_EVENT_RX_READY,

    /* I2C slave can respond to data read request from I2C Master */
    TWIHS_SLAVE_TRANSFER_EVENT_TX_READY,

	/* I2C stop condition received or start condtion with other slave address detected */
    TWIHS_SLAVE_TRANSFER_EVENT_TRANSMISSION_COMPLETE,

}TWIHS_SLAVE_TRANSFER_EVENT;

Summary

Defines the enum for the TWIHS slave transfer event.

Description

Defines the enum for the TWIHS slave transfer event. An event of this type is returned back in the callback by the TWIHS slave PLIB to indicate the transfer event for which the callback has been called.

Remarks

None