FreeRTOS: Platform
Platform portability layer
Return to main page ↑
IotClock_TimerDestroy

Free resources used by a timer.

This function frees resources used by a timer. It must be called on an initialized IotTimer_t. No other timer functions should be called on pTimer after calling this function (unless the timer is re-created).

This function will stop the pTimer if it is armed.

Parameters
[in]pTimerThe timer to destroy.
See also
IotClock_TimerCreate, IotClock_TimerArm
IotTimer_t
_IotSystemTimer_t IotTimer_t
The type used to represent timers, configured with the type _IotSystemTimer_t.
Definition: iot_platform_types.h:126
IotClock_TimerDestroy
void IotClock_TimerDestroy(IotTimer_t *pTimer)
Free resources used by a timer.