Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dcc13xx_cc26xx_rtc_timer.c38 #define RTC_COUNTS_PER_TICK (RTC_COUNTS_PER_SEC / \ macro
49 #define MAX_TICKS (MAX_CYC / RTC_COUNTS_PER_TICK)
64 static uint64_t nextThreshold = RTC_COUNTS_PER_TICK;
111 ticks = (currCount - rtc_last) / RTC_COUNTS_PER_TICK; in rtc_isr()
113 rtc_last += ticks * RTC_COUNTS_PER_TICK; in rtc_isr()
121 newThreshold = nextThreshold + RTC_COUNTS_PER_TICK; in rtc_isr()
128 rtc_last += RTC_COUNTS_PER_TICK; in rtc_isr()
168 period = RTC_COUNTS_PER_TICK; in startDevice()
203 uint64_t timeout = ticks * RTC_COUNTS_PER_TICK + in sys_clock_set_timeout()
207 timeout = DIV_ROUND_UP(timeout, RTC_COUNTS_PER_TICK) * in sys_clock_set_timeout()
[all …]