Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/timer/
Dstm32_lptim_timer.c69 static uint32_t lptim_clock_presc = DT_PROP(DT_DRV_INST(0), st_prescaler); variable
467 if (lptim_clock_presc <= 8) { in sys_clock_driver_init()
471 __ASSERT(CONFIG_STM32_LPTIM_CLOCK / lptim_clock_presc >= in sys_clock_driver_init()
478 lptim_clock_freq = lptim_clock_freq / lptim_clock_presc; in sys_clock_driver_init()
494 LL_LPTIM_SetPrescaler(LPTIM, (__CLZ(__RBIT(lptim_clock_presc)) << LPTIM_CFGR_PRESC_Pos)); in sys_clock_driver_init()