2.90.10 PWM_GeneratorEventStatusClear Function
C
inline static void PWM_GeneratorEventStatusClear(PWM_GENERATOR genNum, PWM_GENERATOR_INTERRUPT interrupt);
Summary
This inline function clears the PWM interrupt status for the PWM Generator selected by the argument PWM_GENERATOR Enum
Description
This function clears the PWM interrupt status for the PWM Generator.
Precondition
None
Parameters
Param | Description |
---|---|
genNum | PWM generator number |
interrupt | PWM 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_GeneratorEventStatusClear(genNum, interrupt);
Remarks
None