1.11.12.11 1.12.12.11 1.13.11.11 1.15.11.11 1.16.9.11 1.17.9.11 1.18.10.11 1.19.9.11 1.20.9.11 1.21.10.11 1.22.14.11 1.23.13.11 1.24.11.11 I2Cx_Initialize Function

C

/* x = I2C instance number */

/* TWI master and slave mode */
void I2Cx_Initialize(void)

Summary

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

Description

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

Precondition

None

Parameters

None.

Returns

None.

Example

I2C1_Initialize();

Remarks

None