Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/soc/arm/nordic_nrf/nrf53/
Dsoc.c244 uint32_t rtc_ticks_to_next_event = 0U; in z_arm_on_enter_cpu_idle_prepare() local
251 rtc_counter, &rtc_ticks_to_next_event); in z_arm_on_enter_cpu_idle_prepare()
257 rtc_ticks_to_next_event = rtc0_ticks_to_next_event; in z_arm_on_enter_cpu_idle_prepare()
259 } else if (rtc0_ticks_to_next_event < rtc_ticks_to_next_event) { in z_arm_on_enter_cpu_idle_prepare()
260 rtc_ticks_to_next_event = rtc0_ticks_to_next_event; in z_arm_on_enter_cpu_idle_prepare()
271 uint32_t rtc_pretick_cc_val = (rtc_counter + rtc_ticks_to_next_event - 1U) in z_arm_on_enter_cpu_idle_prepare()
279 if (rtc_ticks_to_next_event >= NRF_RTC_COUNTER_MAX/2) { in z_arm_on_enter_cpu_idle_prepare()