<< Previous | Next >>

OSTimeDlySec

INT8U OSTimeDlySec (INT16U seconds);

Description

This function is called to delay execution of the currently running task until seconds expires. This is a low overhead version of OSTimeDlyHMSM() 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) if OS_TICKS_PER_SEC has 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