
Function Reference
------------------------------------------------------------------------------
1. Read timer <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
os_show_tim
[Syntax]
#include <oscall.h>
void os_show_tim( unsigned long *current_timer_value ) ;
[Argument]
current_timer_value value read from the timer
[Return]
------
[Description]
Reads current value of the timer.
The unit of the timer value is Tick while 1 Tick is 8 ms.
The time value read by this function is that of local timer dedicated
for the calling task.
The contents of the timer read by this function does not always agree
with the actual passage of time. To read the time of day, use clock()
function which is more accurate.