1.35.18.6 TWIHSx_StatusGet Function

C

/* x = TWIHS instance number */

/* TWIHS slave with interrupt disabled */
TWIHS_SLAVE_STATUS_FLAG TWIHSx_StatusGet(void)

Summary

Returns the TWIHS hardware status flags.

Description

This function returns the TWIHS hardware status flags

Precondition

TWIHSx_Initialize must have been called for the associated TWIHS instance.

Parameters

None.

Returns

TWIHS_SLAVE_STATUS_FLAG - enum identifying the status bits set. One or more status bits may be set.

Example

TWIHS_SLAVE_STATUS_FLAG twihs_status;

twihs_status = TWIHS1_StatusGet();

Remarks

None.