Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

is a pointer to a variable that will contain an error code returned by this function.

OS_ERR_NONE

if If the call was successful.

OS_ERR_PTR_INVALID

if 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 If the stack pointer of the task is a NULL pointer.

OS_ERR_TASK_OPT

if If OS_OPT_TASK_STK_CHK is not specififed whencreating the task being checked.

OS_ERR_TASK_STK_CHK_ISR

if If OS_CFG_CALLED_FROM_ISR_CHK_EN set to 1 in os_cfg.h: if calling this function from an ISR.

...