Searched refs:now_ticks (Results 1 – 1 of 1) sorted by relevance
77 int64_t now_ticks; in stm32f2xx_timer_set_alarm() local85 now_ticks = stm32f2xx_ns_to_ticks(s, now); in stm32f2xx_timer_set_alarm()86 ticks = s->tim_arr - (now_ticks - s->tick_offset); in stm32f2xx_timer_set_alarm()90 s->hit_time = muldiv64((ticks + (uint64_t) now_ticks) * (s->tim_psc + 1), in stm32f2xx_timer_set_alarm()