MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / sys_rt_timer_control

Function sys_rt_timer_control

components/lwp/lwp_syscall.c:2995–2998  ·  view source on GitHub ↗

* @brief Controls various properties of a timer. * * This system call provides control over various aspects of a timer, such as * modifying its configuration, querying its status, or changing its behavior. * The specific behavior is determined by the command (`cmd`) and any associated arguments (`arg`). * * @param[in] timer The handle to the timer to be controlled. Must be a valid `rt_time

Source from the content-addressed store, hash-verified

2993 * @warning Using invalid or unsupported commands may cause undefined behavior or crashes.
2994 */
2995sysret_t sys_rt_timer_control(rt_timer_t timer, int cmd, void *arg)
2996{
2997 return rt_timer_control(timer, cmd, arg);
2998}
2999
3000/* MUSL compatible */
3001struct ksigevent

Callers

nothing calls this directly

Calls 1

rt_timer_controlFunction · 0.85

Tested by

no test coverage detected