Versions Compared

Key

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

...

It is up to the user to delete unused timers. If deleting a timer, you must not reference it again.

Arguments

p_tmr

is a pointer to the timer to be deleted.

...

the timer is in an invalid state.

Returned Values

DEF_TRUE if the timer was deleted, DEF_FALSE if not.

Notes/Warnings

  • Do not call this function from an ISR.
  • When deleting a timer, do not reference it again unless you re-create the timer by calling OSTmrCreate().

Example