Merge branch 'bugfix/clear_ledc_gamma_ram' into 'master'

fix(ledc): left-off gamma ram registers should be cleared

Closes IDF-11392 and IDFGH-14293

See merge request espressif/esp-idf!36098
This commit is contained in:
Song Ruo Jing
2025-02-10 21:16:43 +08:00
7 changed files with 71 additions and 18 deletions
@@ -275,6 +275,10 @@ The range of the duty cycle values passed to functions depends on selected ``dut
On {IDF_TARGET_NAME}, when channel's binded timer selects its maximum duty resolution, the duty cycle value cannot be set to ``(2 ** duty_resolution)``. Otherwise, the internal duty counter in the hardware will overflow and be messed up.
.. only:: esp32h2
The hardware limitation above only applies to chip revision before v1.2.
Change PWM Duty Cycle Using Hardware
""""""""""""""""""""""""""""""""""""