...
No error.
OS_ERR_OBJ_PTR_NULL
if OS_CFG_ARG_CHK_EN
is set to 1
in os_cfg.h
: if
p_grp
is a NULL
pointer.
OS_ERR_OBJ_TYPE
if OS_CFG_OBJ_TYPE_CHK_EN
is set to 1
in os_cfg.h
: p_grp
is not pointing to an event flag group.
OS_ERR_OPT_INVALID
if OS_CFG_ARG_CHK_EN
is set to 1
in os_cfg.h
: the caller specified an invalid option.
OS_ERR_PEND_ABORT
the wait on the flags was aborted by another task that called OSFlagPendAbort()
.
OS_ERR_PEND_ISR
if OS_CFG_CALLED_FROM_ISR_CHK_EN
set to 1
in os_cfg.h
: An attempt was made to call OSFlagPend()
from an ISR, which is not allowed.
OS_ERR_SCHED_LOCKED
When calling this function while the scheduler was locked.
...