diff options
| author | Aurélien Jacobs <[email protected]> | 2023-08-18 16:10:49 +0200 |
|---|---|---|
| committer | Aurélien Jacobs <[email protected]> | 2023-08-18 16:10:49 +0200 |
| commit | 78bb261246559e0447dc472f89480564e8b7a3fc (patch) | |
| tree | 11a14f4ebb640f1ff52a6c680e097e959d05531b /examples/boot/bootloader/nrf/src | |
| parent | 5329f234ba950fdde6f04c239f8f9f172e4a3afa (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 'examples/boot/bootloader/nrf/src')
0 files changed, 0 insertions, 0 deletions
