Function esp_idf_hal::sys::ledc_channel_config
source ยท pub unsafe extern "C" fn ledc_channel_config(
ledc_conf: *const ledc_channel_config_t,
) -> i32
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