pwm: No clear semantics to stop a PWM leads to diverse implementations #9507
Labels
area: API
Changes to public APIs
area: PWM
Pulse Width Modulation
Enhancement
Changes/Updates/Additions to existing features
priority: low
Low impact/importance bug
The PWM API does not mention how one can stop the timer from generating the PWM, which is critical to minimize the power consumption when going into low-power states.
The implementations of the .pin_set callback show a very diversified picture:
The lack of a way to turn off the STM32 timer is probably a short-coming of the driver, but the diversity of the implementations make it difficult to write portable userland code.
The text was updated successfully, but these errors were encountered: