| |||
| Home > Library Reference > Reference > os_dly_wait |
| Summary |
#include <rtl.h> void os_dly_wait ( U16 delay_time ); /* Length of time to pause */ |
|
| Description |
The os_dly_wait function pauses the calling task. The argument delay_time specifies the length of the pause and is measured in number of system_ticks. You can set the delay_time to any value between 1 and 0xFFFE. The os_dly_wait function is in the RL-RTX library. The prototype is defined in rtl.h. Note
|
|
| Return Value | The os_dly_wait function does not return any value. | |
| See Also | os_itv_set, os_itv_wait | |
| Example |
#include <rtl.h>
void task1 (void) __task {
.
.
os_dly_wait (20);
.
.
}
|