MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / sys_rt_timer_stop

Function sys_rt_timer_stop

components/lwp/lwp_syscall.c:2967–2970  ·  view source on GitHub ↗

* @brief Stops a timer. * * This system call stops the specified timer, halting its countdown and * preventing it from triggering further callbacks. If the timer is periodic, * stopping it will prevent further periodic triggers until it is started again. * * @param[in] timer The handle to the timer to be stopped. Must be a valid `rt_timer_t` object. * * @return sysret_t Returns a status

Source from the content-addressed store, hash-verified

2965 * the timer during active use.
2966 */
2967sysret_t sys_rt_timer_stop(rt_timer_t timer)
2968{
2969 return rt_timer_stop(timer);
2970}
2971
2972/**
2973 * @brief Controls various properties of a timer.

Callers

nothing calls this directly

Calls 1

rt_timer_stopFunction · 0.85

Tested by

no test coverage detected