Searched refs:rtc_ticks_to_next_event (Results 1 – 1 of 1) sorted by relevance
244 uint32_t rtc_ticks_to_next_event = 0U; in z_arm_on_enter_cpu_idle_prepare() local251 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()