Home
last modified time | relevance | path

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

/Zephyr-latest/boards/qemu/cortex_m0/
Dnrf_timer_timer.c21 #define COUNTER_HALF_SPAN 0x80000000UL macro
24 #define MAX_TICKS ((COUNTER_HALF_SPAN - CYC_PER_TICK) / CYC_PER_TICK)
184 if (unannounced >= COUNTER_HALF_SPAN) { in sys_clock_set_timeout()
/Zephyr-latest/drivers/timer/
Dnrf_rtc_timer.c39 #define COUNTER_HALF_SPAN (COUNTER_SPAN / 2U) macro
42 #define MAX_TICKS ((COUNTER_HALF_SPAN - CYC_PER_TICK) / CYC_PER_TICK)
255 BUILD_ASSERT(NRF_RTC_TIMER_MAX_SCHEDULE_SPAN <= COUNTER_HALF_SPAN); in set_alarm()
303 (COUNTER_HALF_SPAN - MIN_CYCLES_FROM_NOW)) { in set_alarm()
316 if (counter_sub(now, req_cc) > COUNTER_HALF_SPAN) { in set_alarm()
349 if (target_time - curr_time > COUNTER_HALF_SPAN) { in compare_set_nolocks()
665 if (unannounced >= COUNTER_HALF_SPAN) { in sys_clock_set_timeout()