10.8.3.2 APP_TIMER_ResetTimer
C
uint16_t APP_TIMER_ResetTimer(uint8_t timerId);
Description
The function is used to re-start a timer. Not available if the timer is one-shot and it has been expired.
Parameters
Parameter | Description |
---|---|
[in] timerId | Timer ID. See APP_TIMER_TimerId_T. |
Return values
Return value | Description |
---|---|
APP_RES_SUCCESS | Reset a timer successfully. |
APP_RES_FAIL | Failed to reset the timer. |
APP_RES_INVALID_PARA | The timerId doesn't exist. |