Searched refs:COUNTER_HALF_SPAN (Results 1 – 2 of 2) sorted by relevance
21 #define COUNTER_HALF_SPAN 0x80000000UL macro24 #define MAX_TICKS ((COUNTER_HALF_SPAN - CYC_PER_TICK) / CYC_PER_TICK)184 if (unannounced >= COUNTER_HALF_SPAN) { in sys_clock_set_timeout()
39 #define COUNTER_HALF_SPAN (COUNTER_SPAN / 2U) macro42 #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()