Function esp_idf_hal::sys::ledc_stop
source ยท pub unsafe extern "C" fn ledc_stop(
speed_mode: u32,
channel: u32,
idle_level: u32,
) -> i32
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