This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX user timer life check

Hi,

In my software, I will create a user timer using

 tmr1 = os_tmr_create(500, 1);


When the timer expires, I will trigger an alarm.
If the conditions change, I want to cancel the alarm (kill the timer).

 os_tmr_kill (tmr1);


But I don't want to take the risk of killing an expired timer.
Is there a way to test whether the timer is alive or not?

Thank You!