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 the timer was deleted.

OS_ERR_OBJ_TYPE

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 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 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.

OS_ERR_TMR_INACTIVE

p_tmr is pointing to an inactive timer. In other words, this error appears when pointing to a timer that has been deleted.

...