rtc_clk_freq_cal() function
Calculate the real clock value after the clock calibration
Syntax
uint32_t rtc_clk_freq_cal(uint32_t cal_val); Arguments
cal_val
Average slow clock period in microseconds, fixed point value as returned from `rtc_clk_cal`
Return value
Frequency of the clock in Hz
rtc_clk_freq_cal() is called by 3 functions:
![]()
rtc_clk_freq_cal()
rtc_clk_freq_cal():
![]()
rtc_clk_freq_cal()