Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dstm32_lptim_timer.c180 uint32_t lp_time; in z_clock_lptim_getcounter() local
187 lp_time = LL_LPTIM_GetCounter(LPTIM); in z_clock_lptim_getcounter()
189 lp_time_prev_read = lp_time; in z_clock_lptim_getcounter()
190 lp_time = LL_LPTIM_GetCounter(LPTIM); in z_clock_lptim_getcounter()
191 } while (lp_time != lp_time_prev_read); in z_clock_lptim_getcounter()
192 return lp_time; in z_clock_lptim_getcounter()
288 uint32_t lp_time = z_clock_lptim_getcounter(); in sys_clock_set_timeout() local
293 || ((autoreload - lp_time) < LPTIM_GUARD_VALUE)) { in sys_clock_set_timeout()
305 next_arr = (((lp_time * CONFIG_SYS_CLOCK_TICKS_PER_SEC) in sys_clock_set_timeout()
320 else if (next_arr < (lp_time + LPTIM_GUARD_VALUE)) { in sys_clock_set_timeout()
[all …]