78bb261246
Setting the compare_value to max_compare_value make the PWM output go low when the timer reach the max_compare_value and go high again on the next timer clock, when the value roll back to 0. So to allow a 100% PWM that never goes low, the compare_value must be set to max_compare_value + 1. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |