Home
last modified time | relevance | path

Searched refs:time_to_counter (Results 1 – 2 of 2) sorted by relevance

/nrf_hw_models-2.7.6/src/HW_models/
DNRF_TIMER.c67 static uint32_t time_to_counter(bs_time_t delta, int t){ in time_to_counter() function
173 …Counter[t] = time_to_counter(tm_get_hw_time() - Timer_counter_startT[t], t); //we save the value w… in nrf_timer_TASK_STOP()
197 NRF_TIMER_regs[t].CC[cc_n] = time_to_counter(Elapsed,t) & mask_from_bitmode(t); in nrf_timer_TASK_CAPTURE()
DNRF_RTC.c98 static uint64_t time_to_counter(bs_time_t delta, int rtc) { in time_to_counter() function
269 count = time_to_counter(tm_get_hw_time() - RTC_counter_startT[rtc], rtc); in nrf_rtc_update_COUNTER()
300 …counter[rtc] = time_to_counter(tm_get_hw_time() - RTC_counter_startT[rtc], rtc); //we save the val… in nrf_rtc_TASKS_STOP()