10.3.2.3.4 APP_TIMER_StopTimer
C
uint16_t APP_TIMER_StopTimer(uint8_t timerId);
Description
The function is used to stop a timer.
Parameters
Parameter | Description |
---|---|
[in] timerId | Timer ID. See APP_TIMER_TimerId_T. |
Return values
Return value | Description |
---|---|
APP_RES_SUCCESS | Stop a timer successfully. |
APP_RES_FAIL | Failed to stop the timer. |
APP_RES_INVALID_PARA | The timerId doesn't exist. |