pub unsafe extern "C" fn ledc_channel_config(
    ledc_conf: *const ledc_channel_config_t
) -> esp_err_t
Expand description

@brief LEDC channel configuration Configure LEDC channel with the given channel/output gpio_num/interrupt/source timer/frequency(Hz)/LEDC duty resolution

@param ledc_conf Pointer of LEDC channel configure struct

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error