Function esp_idf_sys::ledc_stop
source ยท pub unsafe extern "C" fn ledc_stop(
speed_mode: ledc_mode_t,
channel: ledc_channel_t,
idle_level: u32,
) -> esp_err_t
Expand description
@brief LEDC stop. Disable LEDC output, and set idle level
@param speed_mode Select the LEDC channel group with specified speed mode. Note that not all targets support high speed mode. @param channel LEDC channel (0 - LEDC_CHANNEL_MAX-1), select from ledc_channel_t @param idle_level Set output idle level after LEDC stops.
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error