Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNHW_RTC.c290 …tic bs_time_t get_counter_match_time(uint rtc, uint64_t counter_match, uint64_t* next_match_sub_us) in get_counter_match_time() argument
295 *next_match_sub_us = TIME_NEVER; in get_counter_match_time()
303 *next_match_sub_us = this->counter_startT_sub_us in get_counter_match_time()
308 *next_match_sub_us = counter_match_sub_us - this->counter_startT_negative_sub_us; in get_counter_match_time()
312 *next_match_sub_us = time_of_1_counter_wrap_sub_us(rtc) in get_counter_match_time()
316 while(*next_match_sub_us <= now_sub_us) in get_counter_match_time()
318 *next_match_sub_us += time_of_1_counter_wrap_sub_us(rtc); in get_counter_match_time()
321 next_match_us = sub_us_time_to_us_time(*next_match_sub_us); in get_counter_match_time()