Searched refs:lptim_clock_freq (Results 1 – 1 of 1) sorted by relevance
67 static uint32_t lptim_clock_freq = CONFIG_STM32_LPTIM_CLOCK; variable153 / lptim_clock_freq; in lptim_irq_handler()305 / lptim_clock_freq) + 1) * lptim_clock_freq in sys_clock_set_timeout()307 next_arr = next_arr + ((uint32_t)(ticks) * lptim_clock_freq) in sys_clock_set_timeout()369 uint64_t ret = ((uint64_t)lp_time * CONFIG_SYS_CLOCK_TICKS_PER_SEC) / lptim_clock_freq; in sys_clock_elapsed()385 uint64_t ret = ((uint64_t)lp_time * sys_clock_hw_cycles_per_sec()) / lptim_clock_freq; in sys_clock_cycle_get_32()434 &lptim_clock_freq); in sys_clock_driver_init()448 lptim_clock_freq = KHZ(32); in sys_clock_driver_init()453 if (lptim_clock_freq == KHZ(32)) { in sys_clock_driver_init()455 } else if (lptim_clock_freq == 32768) { in sys_clock_driver_init()[all …]