...
is a pointer to a variable that will contain an error code returned by this function.
OS_ERR_NONE
if the call was successful.
OS_ERR_PTR_INVALID
if OS_CFG_ARG_CHK_EN
is set to 1
in os_cfg.h
: if either p_free
or p_used
are NULL
pointers.
OS_ERR_TASK_NOT_EXIST
if the stack pointer of the task is a NULL
pointer.
OS_ERR_TASK_OPT
if OS_OPT_TASK_STK_CHK
is not specififed whencreating the task being checked.
OS_ERR_TASK_STK_CHK_ISR
if OS_CFG_CALLED_FROM_ISR_CHK_EN
set to 1
in os_cfg.h
: if calling this function from an ISR.
Returned Value
None
Notes/Warnings
...