1.27.25.9 TWIHSx_NACKDataPhase Function

C

/* x = TWIHS instance number */

/* TWIHS slave mode */
void TWIHSx_NACKDataPhase(bool isNACKEnable)

Summary

Configures the hardware to send NAK for the next data phase

Description

This function lets the application send ACK or NAK for the next data from the I2C master

Precondition

TWIHSx_Initialize must have been called for the associated TWIHS instance.

Parameters

Param Description
true Send NAK to the next data from I2C master
false Send ACK to the next data from I2C master

Returns

None

Example

TWIHS1_NACKDataPhase(true);

Remarks

None