1.8.7.66 1.25.6.66 1.26.5.66 1.27.5.66 1.28.6.66 1.36.7.64 1.41.5.66 1.42.3.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