Function esp_idf_svc::hal::sys::ledc_get_freq

source ยท
pub unsafe extern "C" fn ledc_get_freq(
    speed_mode: u32,
    timer_num: u32,
) -> u32
Expand description

@brief LEDC get channel frequency (Hz)

@param speed_mode Select the LEDC channel group with specified speed mode. Note that not all targets support high speed mode. @param timer_num LEDC timer index (0-3), select from ledc_timer_t

@return - 0 error - Others Current LEDC frequency