This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

read os current time

Hello,
I work on a luminary microcontroller and I use rtx os included in Keil.
For my application I need to be able to rad os time (os tick). This value is given by the debugger in the register tab and then click on (-) internal and see "sec" where the value is displayed.
This counter can also be accessed by typing "os_time" in a watch window.
Os_time is defined as extern U16 os_time; in the file rtx_lib.c but I cannot access this value in my program.
Is someone can help me to know how to know the os current time?
Thanks a lot

Ludovic

0