
B–61863E–1/06
2. PMC SYSTEM CALLPMC LIBRARY
147
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f f
[Name]
os_wait_tim
[Description]
Keeps the task in the waiting state for a specified time period.
The other tasks cannot be kept in the waiting state.
This command does not return error value 0. The error value at the
end of the specified time period is EC_TIMOUT.
[Format]
ret = os_wait_tim(timeout_value) ;
unsigned short ret ;
unsigned long timeout_value ;
[Input]
timeout_value Latency time
[Output]
______
[Returns]
ret Completion code
011AH ; Time-out
[Remarks]
The task is kept in the waiting state for the time period of
timeout_value.
The maximum value that can be specified as timeout_value is
FFFFFFFFh (397 days, 16 hours, 22 minutes, 18 seconds, 360
milliseconds).
The timer_value to be set in timeout value is eight milliseconds per
count.
2.5
KEEPING THE TASK
IN THE WAITING
STATE FOR A
SPECIFIED TIME
PERIOD