Searched refs:cntr (Results 1 – 4 of 4) sorted by relevance
42 hal/RV32M1/cntr.c
149 static bool rtc_ticks_to_next_event_get(NRF_RTC_Type *rtc, uint32_t selected_cc_mask, uint32_t cntr, in rtc_ticks_to_next_event_get() argument161 *ticks_to_next_event = NRF_RTC_COUNTER_MAX + 1U - cntr; in rtc_ticks_to_next_event_get()170 uint32_t ticks_to_fire = rtc_counter_sub(cc, cntr); in rtc_ticks_to_next_event_get()
93 hal/nrf5/cntr.c
429 uint32_t cntr = counter(); in z_nrf_rtc_timer_read() local431 val += cntr; in z_nrf_rtc_timer_read()433 if (cntr < OVERFLOW_RISK_RANGE_END) { in z_nrf_rtc_timer_read()