PWM Interrupt handler | Cypress Semiconductor
PWM Interrupt handler
I want to update the counter register to a new value each time a TC event occurs.
1. What integer parameter does the PWM_SetInterruptMode() function take for enabling the terminal count mask?
2. How to declare the interrupt function that will be automatically called when TC occurs?
3. How to set priority level for this interrupt and how many priority levels are available?
4. Does this interrupt have to be manually cleared. If yes then how?