When the OS_USE_WAITING_WITH_TIME_OUT constant is set to 0 and timer objects are not utilized (i.e., OS_USE_TIMER is set to 0), the entire system code responsible for time management will be excluded from compilation.
Wait functions support a timeout parameter that specifies the maximum duration a task should wait for an object. Timeout values other than 0 (OS_IGNORE) and OS_INFINITE are only valid when OS_USE_WAITING_WITH_TIME_OUT is set to 1.
Similarly, the osSleep function accepts parameter values other than 0 (OS_IGNORE) only when OS_USE_WAITING_WITH_TIME_OUT is enabled.
| Version: | 1.0 |
|---|---|
| See also: | OS_IGNORE, OS_INFINITE, osSleep, osWaitForObject, scheduling, timers |