@CHIP-RTOS C Library - RTOS API
Go to sleep for a specified number of milliseconds.
int RTX_Sleep_Time ( unsigned int time_ms );
- Sleep time in milliseconds. A zero delay
time is translated to 1 millisecond within this API.
- 0 on success else error code.
- 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.
For sleep times over 65 seconds, see
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
for more details.
- RTX API Overview
Supported since or modified in @CHIP-RTOS version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document