TIMER PWM CENTRE ALIGNED
This example configures the timer in PWM mode to generate a 2-channel edge aligned PWM. It configures a two channels with frequency 1.25khz on GPIOs PA26 (25% duty) and PA4 (75% duty). It also configures an interrupt at event CTR=0.
External connections
Connect PA26 and PA4 to an oscilloscope to monitor the PWM output