Home
last modified time | relevance | path

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

/hal_ti-latest/simplelink/source/ti/drivers/dpl/
DClockP.h238 static inline uint32_t ClockP_convertSystemTicksToMsRound(uint32_t ticks) in ClockP_convertSystemTicksToMsRound() argument
240 uint64_t ms = CLOCKP_DIV_ROUND((uint64_t)ticks * MS_PER_S, ClockP_getSystemTickFreq()); in ClockP_convertSystemTicksToMsRound()
261 uint64_t ticks; in ClockP_convertMsToSystemTicksRound() local
268 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() argument
289 uint64_t us = CLOCKP_DIV_ROUND((uint64_t)ticks * US_PER_S, ClockP_getSystemTickFreq()); in ClockP_convertSystemTicksToUsRound()
310 uint64_t ticks; in ClockP_convertUsToSystemTicksFloor() local
317 ticks = ((uint64_t)us * ClockP_getSystemTickFreq()) / US_PER_S; in ClockP_convertUsToSystemTicksFloor()
[all …]
/hal_ti-latest/simplelink/source/ti/drivers/
DWatchdog.c136 int_fast16_t Watchdog_setReload(Watchdog_Handle handle, uint32_t ticks) in Watchdog_setReload() argument
138 return (handle->fxnTablePtr->watchdogSetReload(handle, ticks)); in Watchdog_setReload()
DWatchdog.h348 uint32_t ticks);
525 extern int_fast16_t Watchdog_setReload(Watchdog_Handle handle, uint32_t ticks);
/hal_ti-latest/simplelink/source/ti/drivers/rf/
DRFCC26X2.h1003 #define RF_convertRatTicksToUs(ticks) \ argument
1004 ((ticks) / (RF_RAT_TICKS_PER_US))
1009 #define RF_convertRatTicksToMs(ticks) \ argument
1010 ((ticks) / (1000 * (RF_RAT_TICKS_PER_US)))
/hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/cmsis/core/
Dcore_cm0plus.h1058 __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks) in SysTick_Config() argument
1060 if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk) in SysTick_Config()
1065 SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in SysTick_Config()
/hal_ti-latest/simplelink/source/ti/drivers/apps/
DButton.c501 uint32_t ticks = ((Button_Object *)(handle->object))-> in Button_getLastPressedDuration() local
503 return(ClockP_convertSystemTicksToMsRound(ticks)); in Button_getLastPressedDuration()