Jump to main content

##

# 2.129.1 TWIHSx_Initialize Function

## C

    /* x = TWIHS instance number */

    /* TWIHS master and slave mode */
    void TWIHSx_Initialize(void)

## Summary

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

## Description

This function initializes the given instance of the TWIHS peripheral as configured by the user from the MCC.

## Precondition

None.

## Parameters

None.

## Returns

None

## Example

    TWIHS1_Initialize();

## Remarks

Resets the TWIHS module if it was already running and reinitializes it.