[−][src]Function esp_idf_bindgen::rtc_clk_slow_freq_get_hz
pub unsafe extern "C" fn rtc_clk_slow_freq_get_hz() -> u32
@brief Get the approximate frequency of RTC_SLOW_CLK, in Hz
- if RTC_SLOW_FREQ_RTC is selected, returns ~150000
- if RTC_SLOW_FREQ_32K_XTAL is selected, returns 32768
- if RTC_SLOW_FREQ_8MD256 is selected, returns ~33000
rtc_clk_cal function can be used to get more precise value by comparing RTC_SLOW_CLK frequency to the frequency of main XTAL.
@return RTC_SLOW_CLK frequency, in Hz