Home
last modified time | relevance | path

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

/hal_ti-latest/simplelink/source/ti/drivers/dpl/
DClockP.h240 uint64_t ms = CLOCKP_DIV_ROUND((uint64_t)ticks * MS_PER_S, ClockP_getSystemTickFreq()); in ClockP_convertSystemTicksToMsRound() local
242 if(unlikely(ms > (uint32_t)ms)) in ClockP_convertSystemTicksToMsRound()
247 return ms; in ClockP_convertSystemTicksToMsRound()
259 static inline uint32_t ClockP_convertMsToSystemTicksRound(uint32_t ms) in ClockP_convertMsToSystemTicksRound() argument
263 if(ms == 0) in ClockP_convertMsToSystemTicksRound()
268 ticks = CLOCKP_DIV_ROUND_UP((uint64_t)ms * ClockP_getSystemTickFreq(), MS_PER_S); in ClockP_convertMsToSystemTicksRound()