You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
esp_err_tledc_isr_register(void (*fn)(void*), void*arg, intintr_alloc_flags, ledc_isr_handle_t*handle) __attribute__((deprecated("LEDC interrupt handling is implemented by driver itself, please only register event callbacks if necessary")));
Copy file name to clipboardExpand all lines: docs/en/api-reference/peripherals/ledc.rst
-8Lines changed: 0 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -332,14 +332,6 @@ There are several individual timer-specific functions that can be used to change
332
332
The first function is called "behind the scenes" by :cpp:func:`ledc_timer_config` to provide a startup of a timer after it is configured.
333
333
334
334
335
-
Use Interrupts
336
-
^^^^^^^^^^^^^^
337
-
338
-
When configuring an LEDC channel, one of the parameters selected within :cpp:type:`ledc_channel_config_t` is :cpp:type:`ledc_intr_type_t` which triggers an interrupt on fade completion.
339
-
340
-
For registration of a handler to address this interrupt, call :cpp:func:`ledc_isr_register`.
Copy file name to clipboardExpand all lines: docs/en/migration-guides/release-6.x/6.0/peripherals.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,10 @@ LEDC
58
58
59
59
- Removed esp_driver_gpio as a public required component from esp_driver_ledc.
60
60
61
+
- :func:`ledc_isr_register` has been deprecated. LEDC interrupt handling is implemented by driver itself, please only register event callbacks if necessary.
62
+
63
+
- :cpp:member:`ledc_channel_config_t::intr_type` has been deprecated. `LEDC_INTR_FADE_END` interrupt enable / disable control is handled by the driver internally. Users can still register a callback for this interrupt by :cpp:func:`ledc_cb_register`.
0 commit comments