2.90.13 PWM_GeneratorInterruptEnable Function

C

inline static void PWM_GeneratorEventStatusClear(PWM_GENERATOR genNum, PWM_GENERATOR_INTERRUPT interrupt);

Summary

This inline function enables interrupt requests for the PWM Generator selected by the argument PWM_GENERATOR Enum

Description

This function enables interrupt requests for the PWM Generator.

Precondition

None.

Parameters

ParamDescription
genNumPWM generator number
interruptPWM generator interrupt source

Returns

None.

Example

enum PWM_GENERATOR genNum;
enum PWM_GENERATOR_INTERRUPT interrupt;
genNum = PWM_GENERATOR_1;
interrupt = PWM_GENERATOR_INTERRUPT_TRIGGER;
PWM_GeneratorInterruptEnable(genNum, interrupt);

Remarks

None