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

Function sys_rt_timer_start

components/lwp/lwp_syscall.c:2942–2945  ·  view source on GitHub ↗

* @brief Starts a timer. * * This system call starts the specified timer, causing it to begin counting down * based on its configured period. Once the timer reaches the set period, it triggers the * associated callback function. The behavior depends on whether the timer is configured * as one-shot or periodic. * * @param[in] timer The handle to the timer to be started. Must be a valid `rt_

Source from the content-addressed store, hash-verified

2940 * timer is stopped or not in use before starting it.
2941 */
2942sysret_t sys_rt_timer_start(rt_timer_t timer)
2943{
2944 return rt_timer_start(timer);
2945}
2946
2947/**
2948 * @brief Stops a timer.

Callers

nothing calls this directly

Calls 1

rt_timer_startFunction · 0.85

Tested by

no test coverage detected