Searched refs:time_ms (Results 1 – 2 of 2) sorted by relevance
867 void sl_sleeptimer_delay_millisecond(uint16_t time_ms) in sl_sleeptimer_delay_millisecond() argument872 uint32_t delay = sl_sleeptimer_ms_to_tick(time_ms); in sl_sleeptimer_delay_millisecond()889 uint32_t sl_sleeptimer_ms_to_tick(uint16_t time_ms) in sl_sleeptimer_ms_to_tick() argument891 return (uint32_t)((((uint32_t)time_ms * timer_frequency) + 999) / 1000); in sl_sleeptimer_ms_to_tick()897 sl_status_t sl_sleeptimer_ms32_to_tick(uint32_t time_ms, in sl_sleeptimer_ms32_to_tick() argument900 if (time_ms <= max_millisecond_conversion) { in sl_sleeptimer_ms32_to_tick()901 *tick = (uint32_t)((((uint64_t)time_ms * timer_frequency) + 999) / 1000u); in sl_sleeptimer_ms32_to_tick()
505 void sl_sleeptimer_delay_millisecond(uint16_t time_ms);518 uint32_t sl_sleeptimer_ms_to_tick(uint16_t time_ms);539 sl_status_t sl_sleeptimer_ms32_to_tick(uint32_t time_ms,