Snapshot value of timer



Once starting a timer with adl_tmrSubscribe(), is there any way that a snapshot of the timer’s actual current value can be read? I want to be able to read the timer’s value (at a particular point in time) in order to top it up by a certain amount before it times out.



No, there isn’t - IMO, a very basic limitation of Open-AT timers:

When you stop a timer, you get its remaining time - so you could use that as the basis for re-starting it.


Forum playing up.


Or just use an Open-AT timer to give you a timebase tick, and implement your own timer from there…


Thanks awneil.