...
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, and the function set the value of the desired task register.
OS_ERR_REG_ID_INVALID
if If OS_CFG_ARG_CHK_EN
is set to 1
in os_cfg.h
: if a valid task register identifier is not specified.
...