Jump to main content

##

# 2.129.23 TWIHS_SLAVE_STATUS_FLAG Enum

## C

    /* TWIHS slave with interrupt disabled */

    typedef enum
    {
    	/* Slave Access flag */
        TWIHS_SLAVE_STATUS_FLAG_SVACC   = TWIHS_SR_SVACC_Msk,

    	/* End of slave access flag */
        TWIHS_SLAVE_STATUS_FLAG_EOSACC  = TWIHS_SR_EOSACC_Msk,

    	/* TWIHS transfer direction is read */
        TWIHS_SLAVE_STATUS_FLAG_SVREAD  = TWIHS_SR_SVREAD_Msk,

    	/* Transmitter is ready */
        TWIHS_SLAVE_STATUS_FLAG_TXRDY   = TWIHS_SR_TXRDY_Msk,

    	/* Receiver has an unread character */
        TWIHS_SLAVE_STATUS_FLAG_RXRDY   = TWIHS_SR_RXRDY_Msk,

    	/* NACK received from master */
    	TWIHS_SLAVE_STATUS_FLAG_NACK    = TWIHS_SR_NACK_Msk,

    	/* Stop condtion or start condition with other slave address detected */
        TWIHS_SLAVE_STATUS_FLAG_TXCOMP  = TWIHS_SR_TXCOMP_Msk,
    }TWIHS_SLAVE_STATUS_FLAG;

## Summary

Defines the list of possible TWIHS slave events

## Description

This enum defines the list of possible TWIHS slave events returned by the TWIHSx_StatusGet API

## Remarks

None.