rtc_clk_xtal_freq_get() function
Get main XTAL frequency This is the value stored in RTC register RTC_XTAL_FREQ_REG by the bootloader. As passed to rtc_clk_init function, or if the value was SOC_XTAL_FREQ_AUTO, the detected XTAL frequency.
Return value
XTAL frequency, one of soc_xtal_freq_t