Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dite_it8xxx2_timer.c61 #define MS_TO_COUNT(hz, ms) ((hz) * (ms) / 1000) macro
141 hw_cnt = MS_TO_COUNT(32768, 5/*ms*/); in timer_5ms_one_shot()
338 hw_cnt = MS_TO_COUNT(32768, ms); in timer_init()
340 hw_cnt = MS_TO_COUNT(1024, ms); in timer_init()
342 hw_cnt = MS_TO_COUNT(32, ms); in timer_init()
344 hw_cnt = MS_TO_COUNT(EC_FREQ, ms); in timer_init()