aboutsummaryrefslogtreecommitdiff
path: root/docs/modules
diff options
context:
space:
mode:
authorAurĂ©lien Jacobs <[email protected]>2023-08-18 16:10:49 +0200
committerAurĂ©lien Jacobs <[email protected]>2023-08-18 16:10:49 +0200
commit78bb261246559e0447dc472f89480564e8b7a3fc (patch)
tree11a14f4ebb640f1ff52a6c680e097e959d05531b /docs/modules
parent5329f234ba950fdde6f04c239f8f9f172e4a3afa (diff)
stm32: allow setting PWM duty cycle to 100%
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.
Diffstat (limited to 'docs/modules')
0 files changed, 0 insertions, 0 deletions