I need to output 2 PWM's simultaneously and control the duty cycles independently on STM32F407 microcontroller. I need to use two independent interrupt service routine for each pwm channels(I am measuring total pulse count has generated.). Please let me know , will it possible to use both PWM channel simultaneously and also interrupt service too?