Jump to main content

##

# 2.89.1 PWMx_Initialize Function

## C

    /* x = PWM instance number */

    void PWMx_Initialize (void)

## Summary

Initializes given instance of PWM peripheral

## Description

This function initializes given instance of PWM periphral with the values configured in MCC GUI. This initializes all the selected channels of given peripheal in MCC GUI.

## Precondition

MCC GUI should be configured with the right values.

## Parameters

None.

## Returns

None.

## Example

    PWM0_Initialize();

## Remarks

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