I am able to generate pwm pulses with what ever parameters required for any modules. I am using this for giving pulses to a stepper motor driver where I need to count the number of pwm pulses given so that I can track the angle the motor rotated.
The method I thought was to count the number of pwm pulses generated. Is there a way to get interrupt triggered for every pwm pulses made by a pwm module. This ISR i need to use for other functionality also apart from counting pulses.
Thanks
Ananth