Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/timer/
Dstm32_lptim_timer.c179 uint32_t lp_time; in z_clock_lptim_getcounter() local
186 lp_time = LL_LPTIM_GetCounter(LPTIM); in z_clock_lptim_getcounter()
188 lp_time_prev_read = lp_time; in z_clock_lptim_getcounter()
189 lp_time = LL_LPTIM_GetCounter(LPTIM); in z_clock_lptim_getcounter()
190 } while (lp_time != lp_time_prev_read); in z_clock_lptim_getcounter()
191 return lp_time; in z_clock_lptim_getcounter()
287 uint32_t lp_time = z_clock_lptim_getcounter(); in sys_clock_set_timeout() local
292 || ((autoreload - lp_time) < LPTIM_GUARD_VALUE)) { in sys_clock_set_timeout()
304 next_arr = (((lp_time * CONFIG_SYS_CLOCK_TICKS_PER_SEC) in sys_clock_set_timeout()
319 else if (next_arr < (lp_time + LPTIM_GUARD_VALUE)) { in sys_clock_set_timeout()
[all …]