1.8.14.1 1.25.13.1 1.26.12.1 1.27.13.1 1.28.16.1 1.34.11.1 1.41.13.1 1.42.11.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.