32 #include "iot_config.h" 91 size_t * pTimestringLength );
209 uint32_t relativeTimeoutMs,
bool IotClock_TimerCreate(IotTimer_t *pNewTimer, IotThreadRoutine_t expirationRoutine, void *pArgument)
Create a new timer.
void IotClock_SleepMs(uint32_t sleepTimeMs)
Delay for the given number of milliseconds.
void IotClock_TimerDestroy(IotTimer_t *pTimer)
Free resources used by a timer.
bool IotClock_GetTimestring(char *pBuffer, size_t bufferSize, size_t *pTimestringLength)
Generates a human-readable timestring, such as "01 Jan 2018 12:00".
uint64_t IotClock_GetTimeMs(void)
Returns a nonzero, monotonically-increasing system time in milliseconds.
bool IotClock_TimerArm(IotTimer_t *pTimer, uint32_t relativeTimeoutMs, uint32_t periodMs)
Arm a timer to expire at the given relative timeout.