Function esp_idf_sys::uart_get_sclk_freq
source ยท pub unsafe extern "C" fn uart_get_sclk_freq(
sclk: uart_sclk_t,
out_freq_hz: *mut u32,
) -> esp_err_t
Expand description
@brief Get the frequency of a clock source for the HP UART port
@param sclk Clock source @param[out] out_freq_hz Output of frequency, in Hz
@return
- ESP_ERR_INVALID_ARG: if the clock source is not supported
- otherwise ESP_OK