13.5.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

ParameterDescription
[in] timerIdTimer ID. See APP_TIMER_TimerId_T.

Return values

Return valueDescription
APP_RES_SUCCESSReset a timer successfully.
APP_RES_FAILFailed to reset the timer.
APP_RES_INVALID_PARAThe timerId doesn't exist.