Versions Compared

Key

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

...

a pointer to an error code and can be any of the following:

OS_ERR_NONE

if If the timer was deleted.

OS_ERR_OBJ_TYPE

if If OS_CFG_OBJ_TYPE_CHK_EN is set to 1 in os_cfg.h: if the user did not pass a pointer to a timer.

OS_ERR_TMR_INVALID

if If OS_CFG_ARG_CHK_EN is set to 1 in os_cfg.h: if p_tmr is a NULL pointer.

OS_ERR_TMR_ISR

if If OS_CFG_CALLED_FROM_ISR_CHK_EN set to 1 in os_cfg.h: This function is called from an ISR, which is not allowed.

...