Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNHW_RTC.c111 #define LF_CLOCK_PERIOD_subus 15625 /*in a fixed point format with 9 bits per us, the LF clock per… macro
251 uint64_t n_lf_ticks = (now_sub_us - first_lf_tick_time_sub_us) / LF_CLOCK_PERIOD_subus; //floor() in get_last_lf_tick_time_sub_us()
252 uint64_t last_tick_time_sub_us = n_lf_ticks * LF_CLOCK_PERIOD_subus; in get_last_lf_tick_time_sub_us()
265 ticks = delta_sub_us / ((uint64_t)LF_CLOCK_PERIOD_subus * (nhw_rtc_st[rtc].PRESC + 1)); in time_sub_us_to_counter()
275 Elapsed = counter * (uint64_t)LF_CLOCK_PERIOD_subus * (nhw_rtc_st[rtc].PRESC + 1); in counter_to_time_sub_us()