Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dambiq_stimer.c25 #define COUNTER_MAX UINT32_MAX macro
28 #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()
Dmcux_gpt_timer.c22 #define COUNTER_MAX 0x3fffffff macro
27 #define MAX_TICKS ((COUNTER_MAX / CYC_PER_TICK) - 1)
Darcv2_timer0.c46 #define COUNTER_MAX 0x7fffffff macro
51 #define MAX_TICKS ((COUNTER_MAX / CYC_PER_TICK) - 1)
Dcortex_m_systick.c15 #define COUNTER_MAX 0x00ffffff macro
20 #define MAX_TICKS ((k_ticks_t)(COUNTER_MAX / CYC_PER_TICK) - 1)
Dnrf_rtc_timer.c38 #define COUNTER_MAX (COUNTER_SPAN - 1U) macro
70 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()
/Zephyr-latest/boards/qemu/cortex_m0/
Dnrf_timer_timer.c20 #define COUNTER_MAX 0xFFFFFFFFUL macro
33 return (a - b) & COUNTER_MAX; in counter_sub()
38 nrf_timer_cc_set(TIMER, NRF_TIMER_CC_CHANNEL0, cyc & COUNTER_MAX); in set_comparator()