Searched refs:Elapsed (Results 1 – 2 of 2) sorted by relevance
157 bs_time_t Elapsed; in counter_to_time() local158 Elapsed = ( counter << NRF_TIMER_regs[t].PRESCALER ) >> 4; in counter_to_time()159 return Elapsed; in counter_to_time()329 bs_time_t Elapsed = nsi_hws_get_time() - this->start_t; in nhw_timer_TASK_CAPTURE() local330 NRF_TIMER_regs[t].CC[cc_n] = time_to_counter(Elapsed,t) & mask_from_bitmode(t); in nhw_timer_TASK_CAPTURE()
273 uint64_t Elapsed; in counter_to_time_sub_us() local275 Elapsed = counter * (uint64_t)LF_CLOCK_PERIOD_subus * (nhw_rtc_st[rtc].PRESC + 1); in counter_to_time_sub_us()277 return Elapsed; in counter_to_time_sub_us()