Home
last modified time | relevance | path

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

/nrf_hw_models-3.6.0/src/HW_models/
DNHW_RTC.c150 static void nhw_rtc_TASKS_CLEAR(uint rtc);
151 static void nhw_rtc_signal_OVERFLOW(uint rtc);
152 static void nhw_rtc_signal_COMPARE(uint rtc, uint cc);
262 static uint64_t time_sub_us_to_counter(uint rtc, uint64_t delta_sub_us) { in time_sub_us_to_counter() argument
265 ticks = delta_sub_us / ((uint64_t)LF_CLOCK_PERIOD_subus * (nhw_rtc_st[rtc].PRESC + 1)); in time_sub_us_to_counter()
272 static uint64_t counter_to_time_sub_us(uint rtc, uint64_t counter) { in counter_to_time_sub_us() argument
275 Elapsed = counter * (uint64_t)LF_CLOCK_PERIOD_subus * (nhw_rtc_st[rtc].PRESC + 1); in counter_to_time_sub_us()
283 static uint64_t time_of_1_counter_wrap_sub_us(uint rtc) { in time_of_1_counter_wrap_sub_us() argument
284 return counter_to_time_sub_us(rtc, (uint64_t)RTC_COUNTER_MASK + 1); in time_of_1_counter_wrap_sub_us()
290 static bs_time_t get_counter_match_time(uint rtc, uint64_t counter_match, uint64_t* next_match_sub_… in get_counter_match_time() argument
[all …]
DNHW_RTC.h16 void nhw_rtc_update_COUNTER(uint rtc);
26 void nhw_rtc_regw_sideeffects_EVENTS_all(uint rtc);
27 void nhw_rtc_regw_sideeffects_CC(uint rtc, uint cc_n);
/nrf_hw_models-3.6.0/src/nrfx/hal/
Dnrf_hack.c89 } else IF_PER(RTC, 0, _NS, rtc)
93 } else IF_PER(RTC, 1, _NS, rtc)
121 } else IF_PER(RTC, 0, _NS, rtc)
122 } else IF_PER(RTC, 1, _NS, rtc)