|
| << Previous | Next >> |
INT8U OSTimeDlySec (INT16U seconds);
Description
- This function is called to delay execution of the currently running task until
secondsexpires. This is a low overhead version ofOSTimeDlyHMSM()for seconds only.Parameters
- seconds
- Number of seconds. Must be less than 1024 (default case), or less than 1 + (
UINT_MAX/OS_TICKS_PER_SEC) ifOS_TICKS_PER_SEChas been modified.
Return value
- OS_NO_ERR
- The call was successful.
- OS_TIME_ZERO_DLY
- A delay of zero seconds was requested.
Library
- OS_TIME.C
See also
- OSTimeDly, OSTimeDlyHMSM, OSTimeDlyResume
| 020-0059 Rev. D | << Previous | Next >> | µC/OS-II |