Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
LEDC speed speed_mode, high-speed mode (only exists on esp32) or low-speed mode.
LEDC channel duty resolution.
The timer source of channel (0 - LEDC_TIMER_MAX-1).
uint32_t
LEDC timer frequency (Hz).
Configure LEDC source clock from ledc_clk_cfg_t. Note that LEDC_USE_RC_FAST_CLK and LEDC_USE_XTAL_CLK are non-timer-specific clock sources. You can not have one LEDC timer uses RC_FAST_CLK as the clock source and have another LEDC timer uses XTAL_CLK as its clock source. All chips except esp32 and esp32s2 do not have timer-specific clock sources, which means clock source for all timers must be the same one.
bool
Set this field to de-configure a LEDC timer which has been configured before Note that it will not check whether the timer wants to be de-configured is binded to any channel. Also, the timer has to be paused first before it can be de-configured. When this field is set, duty_resolution, freq_hz, clk_cfg fields are ignored.

References

from examples