[][src]Function esp_idf_sys::ets_get_detected_xtal_freq

pub unsafe extern "C" fn ets_get_detected_xtal_freq() -> u32

@brief Get xtal_freq value, If value not stored in RTC_STORE5, than store.

@param None

@return uint32_t : if rtc store the value (RTC_STORE5 high 16 bits and low 16 bits with same value), read from rtc register. clock = (REG_READ(RTC_STORE5) & 0xffff) << 12; else if analog_8M in efuse clock = ets_get_xtal_scale() * 15625 * ets_efuse_get_8M_clock() / 40; else clock = 26M.