Home
last modified time | relevance | path

Searched refs:rtc_last (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/drivers/timer/
Dcc13xx_cc26xx_rtc_timer.c59 static volatile uint64_t rtc_last; variable
111 ticks = (currCount - rtc_last) / RTC_COUNTS_PER_TICK; in rtc_isr()
113 rtc_last += ticks * RTC_COUNTS_PER_TICK; in rtc_isr()
128 rtc_last += RTC_COUNTS_PER_TICK; in rtc_isr()
204 (count - rtc_last); in sys_clock_set_timeout()
210 timeout += rtc_last; in sys_clock_set_timeout()
221 uint32_t ret = (AONRTCCurrent64BitValueGet() - rtc_last) / in sys_clock_elapsed()
240 rtc_last = 0U; in sys_clock_driver_init()
Dsam0_rtc_timer.c74 static volatile uint32_t rtc_last; variable
162 if (count != rtc_last) { in rtc_isr()
163 uint32_t ticks = (count - rtc_last) / CYCLES_PER_TICK; in rtc_isr()
166 rtc_last += ticks * CYCLES_PER_TICK; in rtc_isr()
174 sys_clock_announce(rtc_counter - rtc_last); in rtc_isr()
175 rtc_last = rtc_counter; in rtc_isr()
236 return (rtc_count() - rtc_last) / CYCLES_PER_TICK; in sys_clock_elapsed()
238 return rtc_counter - rtc_last; in sys_clock_elapsed()
275 rtc_last = 0U; in sys_clock_driver_init()