Function esp_idf_hal::sys::uart_get_sclk_freq

source ยท
pub unsafe extern "C" fn uart_get_sclk_freq(
    sclk: u32,
    out_freq_hz: *mut u32,
) -> i32
Expand description

@brief Get the frequency of a clock source for the UART

@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