2024-05-06 05:06 AM
Hello,
I have programmed one of the advanced timers in up/down mode and I have used one of the compare units to generate a PWM signal.
I would also like to generate an interrupt on compare events, but only on the falling edges.
Is it possible to specify the edge directon when enabling the compare event interrupt?
Or I have to distingush the edge direction only after the interrupt has been triggered on compare event, by checking the counter direction?
Thank you,
Carlo
Solved! Go to Solution.
2024-05-06 10:32 AM
> Is it possible to specify the edge directon when enabling the compare event interrupt?
JW
2024-05-06 10:32 AM
> Is it possible to specify the edge directon when enabling the compare event interrupt?
JW
2024-05-07 12:36 AM
Thank you very much!
Regards,
Carlo