stm32f0xx-hal
stm32f0xx-hal copied to clipboard
Add support for using TIM2 as a PWM output
This adds support for the PWM output of TIM2 on supported devices. It is simply a matter of providing the corresponding implementations for the correct Pins and a pwm_4_channels implementation for TIM2.
Sorry for the typos, this has been fixed with fd36360 and is building correctly now. Also this has been tested and is working on a STM32F042G6