1.35.17.6 TWIx_Initialize Function

C

/* x = TWI instance number */

/* TWI master mode */
void TWIx_Initialize(void)

Summary

Initializes given instance of the TWI peripheral.

Description

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

Precondition

None.

Parameters

None.

Returns

None

Example

TWI1_Initialize();

Remarks

Resets the TWI module if it was already running and reinitializes it