...
void OSTimeDlyResume (OS_TCB *p_tcb,
...
OS_ERR *p_err)
...
...
File |
...
Called from |
...
...
Code enabled by |
...
...
|
...
Task only |
...
|
...
OSTimeDlyResume()
resumes a task that has been delayed through a call to either OSTimeDly()
, or OSTimeDlyHMSM()
. Anchor
Arguments
Anchor
p_tcb
is a pointer to the TCB of the task that is resuming. A NULL
pointer is not valid since it would indicate that the user is attempting to resume the current task and that is not possible as the caller cannot possibly be delayed.
Anchor
p_err
is a pointer to a variable that contains an error code returned by this function.
...
class | WebWorks_Indent_1 |
---|
...
OS_ERR_NONE
...
class | WebWorks_Indent_2 |
---|
...
if the call was successful and the task was resumed.
...
class | WebWorks_Indent_1 |
---|
...
...
OS_ERR_STATE_INVALID
...
...
class | WebWorks_Indent_2 |
---|
...
if the task is in an invalid state.
...
...
OS_ERR_TIME_DLY_RESUME_ISR
...
...
class | WebWorks_Indent_2 |
---|
...
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_NOT_DLY
...
class | WebWorks_Indent_2 |
---|
...
...
if OS_CFG_ARG_CHK_EN
is set to 1
in os_cfg.h
: if the task was not delayed or, you passed a NULL pointer for the TCB.
...
class | WebWorks_Indent_1 |
---|
...
OS_ERR_TASK_SUSPENDED
...
class | WebWorks_Indent_2 |
---|
...
if the task to resume is suspended and will remain suspended.
...
Returned Value
...
Notes/Warnings
...
Example
...
rowspan | 12 |
---|
...