1.25.6.72 FLEXCOM_TWI_SLAVE_STATUS_FLAG Enum

C

/* TWI slave with interrupt disabled */

typedef enum
{
	/* Slave Access flag */
    FLEXCOM_TWI_SLAVE_STATUS_FLAG_SVACC     = FLEX_TWI_SR_SVACC_Msk,
	
	/* End of slave access flag */
    FLEXCOM_TWI_SLAVE_STATUS_FLAG_EOSACC    = FLEX_TWI_SR_EOSACC_Msk,
	
	/* TWI transfer direction is read */
    FLEXCOM_TWI_SLAVE_STATUS_FLAG_SVREAD    = FLEX_TWI_SR_SVREAD_Msk,
	
	/* Transmitter is ready */
    FLEXCOM_TWI_SLAVE_STATUS_FLAG_TXRDY     = FLEX_TWI_SR_TXRDY_Msk,
	
	/* Receiver has an unread character */
    FLEXCOM_TWI_SLAVE_STATUS_FLAG_RXRDY     = FLEX_TWI_SR_RXRDY_Msk,
	
	/* NACK received from master */
	FLEXCOM_TWI_SLAVE_STATUS_FLAG_NACK   	= FLEX_TWI_SR_NACK_Msk,
	
	/* Stop condtion or start condition with other slave address detected */
    FLEXCOM_TWI_SLAVE_STATUS_FLAG_TXCOMP    = FLEX_TWI_SR_TXCOMP_Msk,
}FLEXCOM_TWI_SLAVE_STATUS_FLAG;

Summary

This enum defines the list of possible TWI slave events

Description

This enum defines the list of possible TWI slave events returned by the FLEXCOMx_TWI_StatusGet API

Remarks

None