TIMER PWM CENTRE ALIGNED
This example configures the timer in PWM mode to generate a centre aligned PWM. It configures a single channel with frequency 1.25khz and 50% duty on GPIO PA26. It also configures an interrupt at event CTR=0.
External connections
Connect PA26 to an oscilloscope to monitor the PWM output