Searched refs:ticks (Results 1 – 6 of 6) sorted by relevance
238 static inline uint32_t ClockP_convertSystemTicksToMsRound(uint32_t ticks) in ClockP_convertSystemTicksToMsRound() argument240 uint64_t ms = CLOCKP_DIV_ROUND((uint64_t)ticks * MS_PER_S, ClockP_getSystemTickFreq()); in ClockP_convertSystemTicksToMsRound()261 uint64_t ticks; in ClockP_convertMsToSystemTicksRound() local268 ticks = CLOCKP_DIV_ROUND_UP((uint64_t)ms * ClockP_getSystemTickFreq(), MS_PER_S); in ClockP_convertMsToSystemTicksRound()270 if (unlikely(ticks > (uint32_t)ticks)) in ClockP_convertMsToSystemTicksRound()275 return ticks; in ClockP_convertMsToSystemTicksRound()287 static inline uint32_t ClockP_convertSystemTicksToUsRound(uint32_t ticks) in ClockP_convertSystemTicksToUsRound() argument289 uint64_t us = CLOCKP_DIV_ROUND((uint64_t)ticks * US_PER_S, ClockP_getSystemTickFreq()); in ClockP_convertSystemTicksToUsRound()310 uint64_t ticks; in ClockP_convertUsToSystemTicksFloor() local317 ticks = ((uint64_t)us * ClockP_getSystemTickFreq()) / US_PER_S; in ClockP_convertUsToSystemTicksFloor()[all …]
136 int_fast16_t Watchdog_setReload(Watchdog_Handle handle, uint32_t ticks) in Watchdog_setReload() argument138 return (handle->fxnTablePtr->watchdogSetReload(handle, ticks)); in Watchdog_setReload()
348 uint32_t ticks);525 extern int_fast16_t Watchdog_setReload(Watchdog_Handle handle, uint32_t ticks);
1003 #define RF_convertRatTicksToUs(ticks) \ argument1004 ((ticks) / (RF_RAT_TICKS_PER_US))1009 #define RF_convertRatTicksToMs(ticks) \ argument1010 ((ticks) / (1000 * (RF_RAT_TICKS_PER_US)))
1058 __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks) in SysTick_Config() argument1060 if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk) in SysTick_Config()1065 SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in SysTick_Config()
501 uint32_t ticks = ((Button_Object *)(handle->object))-> in Button_getLastPressedDuration() local503 return(ClockP_convertSystemTicksToMsRound(ticks)); in Button_getLastPressedDuration()