Searched refs:rtc_counter (Results 1 – 12 of 12) sorted by relevance
79 static volatile uint32_t rtc_counter; variable173 if (++rtc_counter == rtc_timeout) { in rtc_isr()174 sys_clock_announce(rtc_counter - rtc_last); in rtc_isr()175 rtc_last = rtc_counter; in rtc_isr()214 rtc_timeout = rtc_counter; in sys_clock_set_timeout()227 rtc_timeout = rtc_counter + ticks; in sys_clock_set_timeout()238 return rtc_counter - rtc_last; in sys_clock_elapsed()310 rtc_counter = 0U; in sys_clock_driver_init()
244 uint32_t rtc_counter = 0U; in z_arm_on_enter_cpu_idle_prepare() local249 rtc_counter_synchronized_get(NRF_RTC1, NRF_RTC0, &rtc_counter, &rtc0_counter); in z_arm_on_enter_cpu_idle_prepare()252 rtc_counter, &rtc_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()288 rtc_counter = nrf_rtc_counter_get(NRF_RTC1); in z_arm_on_enter_cpu_idle_prepare()290 rtc_counter_sub(rtc_pretick_cc_val, rtc_counter); in z_arm_on_enter_cpu_idle_prepare()
107 &rtc_counter {
114 &rtc_counter {
133 &rtc_counter {
298 rtc_counter: rtc_counter@40006000 { label
123 &rtc_counter {
130 &rtc_counter {
160 &rtc_counter {
162 &rtc_counter {
159 &rtc_counter {
167 &rtc_counter {