Jump to main content

##

# 2.65.1 MCPWM_Initialize Function

## C

    void MCPWM_Initialize (void)

## Summary

Initializes given instance of MCPWM peripheral

## Description

This function initializes given instance of MCPWM peripheral with the values configured in MCC GUI. This initializes all the selected generators of given peripheral in MCC GUI.

## Precondition

MCC GUI should be configured with the right values.

## Parameters

None.

## Returns

None.

## Example

    MCPWM_Initialize();

## Remarks

This function must be called before any other MCPWM function is called. This function should only be called once during system initialization.