1.27.25.12 1.34.25.12 1.35.18.12 TWIHSx_Initialize Function

C

/* x = TWIHS instance number */

/* TWIHS master and slave mode */
void TWIHSx_Initialize(void)

Summary

Initializes the instance of the TWIHS peripheral in either master or slave mode.

Description

This function initializes the given instance of the TWIHS peripheral as configured by the user from the MHC.

Precondition

None.

Parameters

None.

Returns

None

Example

TWIHS1_Initialize();

Remarks

Resets the TWIHS module if it was already running and reinitializes it.