Home
last modified time | relevance | path

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

/nrf_hw_models-3.4.0/src/HW_models/
DNRF_RTC.c143 …atic bs_time_t get_counter_match_time(uint64_t counter_match, int rtc, uint64_t* next_match_sub_us) in get_counter_match_time() argument
146 *next_match_sub_us = TIME_NEVER; in get_counter_match_time()
154 *next_match_sub_us = RTC_counter_startT_sub_us[rtc] in get_counter_match_time()
159 *next_match_sub_us = counter_match_sub_us - RTC_counter_startT_negative_sub_us[rtc]; in get_counter_match_time()
163 …*next_match_sub_us = time_of_1_counter_wrap_sub_us(rtc) + counter_match_sub_us - RTC_counter_start… in get_counter_match_time()
166 while(*next_match_sub_us <= now_sub_us) in get_counter_match_time()
168 *next_match_sub_us += time_of_1_counter_wrap_sub_us(rtc); in get_counter_match_time()
171 next_match_us = sub_us_time_to_us_time(*next_match_sub_us); in get_counter_match_time()