@CHIP-RTOS C Library V2.00 - RTOS API
RTX_Sleep_Time
Go to sleep for a specified number of milliseconds. int RTX_Sleep_Time ( unsigned int time_ms ); Parameters
time_ms
- Sleep time in milliseconds.
Return Value
- 0 on success else error code.
Comments
- The RTX_Wakeup function can wake
up a sleeping task before its sleep timer has expired.
If the task has an outstanding wake request pending when it calls here,
the task will continue execution immediately without waiting.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|