1.27.5.66 FLEXCOMx_TWI_Initialize Function

C

/* x = FLEXCOM instance number */

/* TWI master and slave mode */

void FLEXCOMx_TWI_Initialize(void)	

Summary

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

Description

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

Precondition

None

Parameters

None.

Returns

None.

Example

FLEXCOM0_TWI_Initialize();

Remarks

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