The os_tmr_call function is a user defined function that gets called by the RTX kernel's task manager task scheduler, when the user defined timer expires. After the os_tmr_call function returns, the task manager deletes this user timer. The info argument contains the value that was specified when the timer was created using os_tmr_create. The os_tmr_call function is part of RL-RTX. The prototype is defined in rtl.h. You can customize the function in rtx_config.c. Note - You can call any of the isr_ system functions from the os_tmr_call function, but you cannot call any of the os_ system functions.
- Do not call os_tmr_kill for an expired user timer.
|