Function esp_idf_sys::ledc_get_freq
source ยท pub unsafe extern "C" fn ledc_get_freq(
speed_mode: ledc_mode_t,
timer_num: ledc_timer_t,
) -> 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