Searched refs:time_to_counter (Results 1 – 2 of 2) sorted by relevance
67 static uint32_t time_to_counter(bs_time_t delta, int t){ in time_to_counter() function173 …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()
98 static uint64_t time_to_counter(bs_time_t delta, int rtc) { in time_to_counter() function269 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()