2.90.19 PWM_OutputModeSet Function

C

inline static void PWM_OutputModeSet(PWM_GENERATOR genNum, PWM_HS_OUTPUT_MODES outputMode)

Summary

Configures the output mode of a specific PWM generator.

Description

This function allows setting the output mode of the PWM signal (e.g., Independent Edge, push-pull, etc.) for a specific generator. The output mode determines the type of PWM waveform generated.

Precondition

None

Parameters

ParamDescription
genNumPWM generator number
outputModePWM output mode

Returns

None

Example

PWM_OutputModeSet(PWM_GENERATOR_1, COMPLEMENTARY_OUTPUT_MODE);

Remarks

None