[][src]Function esp_idf_bindgen::rtc_time_get

pub unsafe extern "C" fn rtc_time_get() -> u64

@brief Get current value of RTC counter

RTC has a 48-bit counter which is incremented by 2 every 2 RTC_SLOW_CLK cycles. Counter value is not writable by software. The value is not adjusted when switching to a different RTC_SLOW_CLK source.

Note: this function may take up to 1 RTC_SLOW_CLK cycle to execute

@return current value of RTC counter