AWS IoT Device SDK C: 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