The os_tmr_create function sets up and starts a timer. When the timer expires, the RTX kernel calls the user defined os_tmr_call callback function and passes info as an argument to the os_tmr_call function. The tcnt argument specifies the length of timer, in number of system ticks. You can specify tcnt to any value between 1 and 0xFFFF. The os_tmr_create function is in the RL-RTX library. The prototype is defined in rtl.h. |