ledc_channel_config_t struct
Configuration parameters of LEDC channel for ledc_channel_config function
Fields
the LEDC output gpio_num, if you want to use gpio16, gpio_num = 16.
LEDC speed speed_mode, high-speed mode (only exists on esp32) or low-speed mode.
LEDC channel (0 - LEDC_CHANNEL_MAX-1).
configure interrupt, Fade interrupt enable or Fade interrupt disable.
Select the timer source of channel (0 - LEDC_TIMER_MAX-1).
LEDC channel duty, the range of duty setting is [0, (2**duty_resolution)].
LEDC channel hpoint value, the range is [0, (2**duty_resolution)-1].
choose the desired behavior for the LEDC channel in Light-sleep.
Examples
ledc_channel_config_t is referenced by 11 libraries and example projects: