You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The utility timer uses TIMER1, and TIMER1 uses ~0.5mA when enabled
Often the utility timer is used for stuff that has to happen quickly and accurately (eg. Serial port emulation, digitalPulse) but there are times (eg. Bangle.js) when we use it just because we want something to run in an IRQ and don't care +/- 1ms when it runs.
It'd be nice if in these cases we could use the Nordic app_timer code used for setInterval/etc since this does still use IRQs, we just don't use them
I guess one option might be to allow Utility Timer tasks to be flagged with whether they need high precision or not, and if not they can be handled using app_timer?
The text was updated successfully, but these errors were encountered:
The utility timer uses TIMER1, and TIMER1 uses ~0.5mA when enabled
Often the utility timer is used for stuff that has to happen quickly and accurately (eg. Serial port emulation, digitalPulse) but there are times (eg. Bangle.js) when we use it just because we want something to run in an IRQ and don't care +/- 1ms when it runs.
It'd be nice if in these cases we could use the Nordic app_timer code used for setInterval/etc since this does still use IRQs, we just don't use them
I guess one option might be to allow Utility Timer tasks to be flagged with whether they need high precision or not, and if not they can be handled using app_timer?
The text was updated successfully, but these errors were encountered: