Home
last modified time | relevance | path

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

/Zephyr-latest/soc/nordic/nrf53/
Dsoc.c245 uint32_t rtc_ticks_to_next_event = 0U; in z_arm_on_enter_cpu_idle_prepare() local
252 rtc_counter, &rtc_ticks_to_next_event); in z_arm_on_enter_cpu_idle_prepare()
258 rtc_ticks_to_next_event = rtc0_ticks_to_next_event; in z_arm_on_enter_cpu_idle_prepare()
260 } else if (rtc0_ticks_to_next_event < rtc_ticks_to_next_event) { in z_arm_on_enter_cpu_idle_prepare()
261 rtc_ticks_to_next_event = rtc0_ticks_to_next_event; in z_arm_on_enter_cpu_idle_prepare()
272 uint32_t rtc_pretick_cc_val = (rtc_counter + rtc_ticks_to_next_event - 1U) in z_arm_on_enter_cpu_idle_prepare()
280 if (rtc_ticks_to_next_event >= NRF_RTC_COUNTER_MAX/2) { in z_arm_on_enter_cpu_idle_prepare()