Searched refs:COUNTER_MAX (Results 1 – 6 of 6) sorted by relevance
25 #define COUNTER_MAX UINT32_MAX macro28 #define MAX_TICKS ((k_ticks_t)(COUNTER_MAX / CYC_PER_TICK) - 1)70 uint64_t now_64 = (g_last_time_stamp <= now) ? (uint64_t)now : (uint64_t)now + COUNTER_MAX; in update_tick_counter()115 : (uint64_t)now + COUNTER_MAX; in stimer_isr()157 uint64_t now_64 = (g_last_time_stamp <= now) ? (uint64_t)now : (uint64_t)now + COUNTER_MAX; in sys_clock_set_timeout()
22 #define COUNTER_MAX 0x3fffffff macro27 #define MAX_TICKS ((COUNTER_MAX / CYC_PER_TICK) - 1)
46 #define COUNTER_MAX 0x7fffffff macro51 #define MAX_TICKS ((COUNTER_MAX / CYC_PER_TICK) - 1)
15 #define COUNTER_MAX 0x00ffffff macro20 #define MAX_TICKS ((k_ticks_t)(COUNTER_MAX / CYC_PER_TICK) - 1)
38 #define COUNTER_MAX (COUNTER_SPAN - 1U) macro70 return (a - b) & COUNTER_MAX; in counter_sub()75 nrfy_rtc_cc_set(RTC, chan, cyc & COUNTER_MAX); in set_comparator()106 return absolute_time & COUNTER_MAX; in absolute_time_to_cc()
20 #define COUNTER_MAX 0xFFFFFFFFUL macro33 return (a - b) & COUNTER_MAX; in counter_sub()38 nrf_timer_cc_set(TIMER, NRF_TIMER_CC_CHANNEL0, cyc & COUNTER_MAX); in set_comparator()