...
is a pointer to a variable that will contain an error code returned by this function.
OS_ERR_NONE
if the call was successful, and the task has returned from the desired delay.
OS_ERR_OPT_INVALID
if OS_CFG_ARG_CHK_EN
is set to 1
in os_cfg.h
: if a valid option is not specified.
OS_ERR_TIME_DLY_ISR
if OS_CFG_CALLED_FROM_ISR_CHK_EN
set to 1
in os_cfg.h
: if calling this function from an ISR.
OS_ERR_TIME_ZERO_DLY
if specifying a delay of 0 when the option was set to OS_OPT_TIME_DLY
. Note that a value of 0 is valid when setting the option to OS_OPT_TIME_MATCH
.
Returned Value
None
Notes/Warnings
...