Function esp_idf_svc::hal::sys::rmt_get_counter_clock

source ·
pub unsafe extern "C" fn rmt_get_counter_clock(
    channel: u32,
    clock_hz: *mut u32,
) -> i32
Expand description

@brief Get speed of channel’s internal counter clock.

@param channel RMT channel @param[out] clock_hz counter clock speed, in hz

@return - ESP_ERR_INVALID_ARG Parameter is NULL - ESP_OK Success