I have a question about one of the example code in controlsuit named "epwm_updown_aq". There is an interrupt function that updates the Compare register values of the ePWMs.
Why do we need that? We can make the same thing on the main while loop. What is the advantage of the interrupt function?
Thank you
Have a nice day.