Song Ruo Jing
c1c62cb16e
docs(ledc): add notes for ledc_set_fade_with_time API reference
...
Closes https://github.com/espressif/esp-idf/issues/15085
2025-03-07 17:37:55 +08:00
Song Ruo Jing
814159448b
Merge branch 'feature/ledc_cal_duty_resolution' into 'master'
...
feat(ledc): add ledc_find_suitable_duty_resolution function
Closes IDFGH-10569
See merge request espressif/esp-idf!25208
2023-10-10 20:34:09 +08:00
IhorNehrutsa
9ced54699e
feat(ledc): add ledc_find_suitable_duty_resolution helper function
...
Helper function to find the maximum possible duty resolution in bits
for ledc_timer_config()
Merges https://github.com/espressif/esp-idf/pull/11810
2023-10-09 12:46:46 +08:00
Song Ruo Jing
821f7b0498
fix(ledc): fix ledc driver 100% duty cycle configuration
...
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.
Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12083
2023-10-02 07:32:16 +00:00
Chen Jichang
5150c578fd
ledc:add option to put LEDC function into IRAM
...
The caches are disabled when reading/writing/erasing flash.
All CPUs should always execute code and access data from internal RAM.
Add an IRAM option to enhance the performance of LEDC.
Closes https://github.com/espressif/esp-idf/issues/11554
2023-06-14 18:12:01 +08:00
Song Ruo Jing
fcc6514dde
ledc: Add an all-in-one HAL function to set fade parameters, and refactor ledc_ll_get_max_duty function
2023-04-21 16:40:54 +08:00
Song Ruo Jing
64aec54308
ledc: Add timer selection check to the driver, and leave space for future clk tree management
2023-04-21 16:40:54 +08:00
Song Ruo Jing
5070e51dde
ledc: Fix two bugs inside LEDC driver
...
1. Regression introduced when refactoring on clock sources selection (0d07f859 ).
If channel configuration is called before timer configuration on C6, PWM signal may not be able to output.
2. Missing the improper fade parameter fix inside ledc_set_duty_and_update() function.
2023-04-06 12:37:33 +08:00
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
laokaiyao
f27cd67c00
driver: pack peripherals
2023-02-02 18:19:58 +08:00