stm32g0xx-hal
stm32g0xx-hal copied to clipboard
Add more methods to Pwm<T>
Hi :)
I have a use case where I need to update the frequency of several pwm outputs very often, therefore I need access to directly setting the period and/or prescaler registers. This PR does that plus some extra methods like start/pause, and access to setting the prescaler.