Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNHW_TIMER.c52 int base_freq; //Base frequency (in MHz) of the timer input clock member
100 t_st->base_freq = Timer_freqs[t]; in nhw_timer_init()
148 ticks = (delta * nhw_timer_st[t].base_freq) >> NRF_TIMER_regs[t].PRESCALER; in time_to_counter()
158 Elapsed = (counter << NRF_TIMER_regs[t].PRESCALER) / nhw_timer_st[t].base_freq; in counter_to_time()