Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/timer/
Dstm32_lptim_timer.c197 uint32_t next_arr = 0; in sys_clock_set_timeout() local
304 next_arr = (((lp_time * CONFIG_SYS_CLOCK_TICKS_PER_SEC) in sys_clock_set_timeout()
307 next_arr = next_arr + ((uint32_t)(ticks) * lptim_clock_freq) in sys_clock_set_timeout()
312 if (next_arr > lptim_time_base) { in sys_clock_set_timeout()
313 next_arr = lptim_time_base; in sys_clock_set_timeout()
319 else if (next_arr < (lp_time + LPTIM_GUARD_VALUE)) { in sys_clock_set_timeout()
320 next_arr = lp_time + LPTIM_GUARD_VALUE; in sys_clock_set_timeout()
323 next_arr = next_arr - 1; in sys_clock_set_timeout()
326 lptim_set_autoreload(next_arr); in sys_clock_set_timeout()