Jump to main content

##

# 2.56.1 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 MCC.

## Precondition

None

## Parameters

None.

## Returns

None.

## Example

    I2C1_Initialize();

## Remarks

None