Searched refs:rtc_pretick_cc_val (Results 1 – 1 of 1) sorted by relevance
271 uint32_t rtc_pretick_cc_val = (rtc_counter + rtc_ticks_to_next_event - 1U) in z_arm_on_enter_cpu_idle_prepare() local274 if (rtc_pretick_cc_val != nrf_rtc_cc_get(NRF_RTC1, RTC1_PRETICK_CC_CHAN)) { in z_arm_on_enter_cpu_idle_prepare()277 nrf_rtc_cc_set(NRF_RTC1, RTC1_PRETICK_CC_CHAN, rtc_pretick_cc_val); in z_arm_on_enter_cpu_idle_prepare()289 rtc_counter_sub(rtc_pretick_cc_val, rtc_counter); in z_arm_on_enter_cpu_idle_prepare()