Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dnrf_rtc_timer.c345 uint32_t cc_value = absolute_time_to_cc(target_time); in compare_set_nolocks() local
358 ret = set_alarm(chan, cc_value, exact); in compare_set_nolocks()
453 static inline bool in_anchor_range(uint32_t cc_value) in in_anchor_range() argument
455 return (cc_value >= ANCHOR_RANGE_START) && (cc_value < ANCHOR_RANGE_END); in in_anchor_range()
458 static inline void anchor_update(uint32_t cc_value) in anchor_update() argument
461 if (in_anchor_range(cc_value)) { in anchor_update()
467 anchor = (((uint64_t)overflow_cnt) << COUNTER_BIT_WIDTH) + cc_value; in anchor_update()
475 uint32_t cc_value = absolute_time_to_cc(expire_time); in sys_clock_timeout_handler() local
480 anchor_update(cc_value); in sys_clock_timeout_handler()
/Zephyr-latest/soc/nordic/nrf53/
Dsync_rtc.c130 static void rtc_cb(int32_t id, uint64_t cc_value, void *user_data) in rtc_cb() argument
133 ARG_UNUSED(cc_value); in rtc_cb()