Jump to main content

##

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

## Precondition

None.

## Parameters

None.

## Returns

None

## Example

    TWI1_Initialize();

## Remarks

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