Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add set_frequency method on PWM channels
This adds a method to PWM channels to change the underlying timer's frequency. This allows to dynamically change the PWM frequency when we have associated a channel with a pin. Otherwise this required unsafe to work around a partial move error because the channel was moved out of the timer struct. See stm32-rs#172 for more information
- Loading branch information