Home
last modified time | relevance | path

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

/hal_silabs-3.5.0/gecko/service/sleeptimer/src/
Dsl_sleeptimer.c867 void sl_sleeptimer_delay_millisecond(uint16_t time_ms) in sl_sleeptimer_delay_millisecond() argument
872 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() argument
891 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() argument
900 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()
/hal_silabs-3.5.0/gecko/service/sleeptimer/inc/
Dsl_sleeptimer.h505 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,