11.8.3.4 APP_TIMER_StopTimer

C

uint16_t APP_TIMER_StopTimer(uint8_t timerId);

Description

The function is used to stop a timer.

Parameters

ParameterDescription
[in] timerIdTimer ID. See APP_TIMER_TimerId_T.

Return values

Return valueDescription
APP_RES_SUCCESSStop a timer successfully.
APP_RES_FAILFailed to stop the timer.
APP_RES_INVALID_PARAThe timerId doesn't exist.