TIMER can be used in the following ways, depending on configuration in CONFIG.
- Boot monitor
- Watchdog timer
- Wakeup timer
- General purpose timer
TIMER is started and stopped using TASKS_START and TASKS_STOP, respectively
The wakeup timer wakes the system from Hibernate or Hibernate_PT mode. Do not use the watchdog timer or general purpose timer when the system is in Ship or Hibernate modes.
A pre-warning interrupt 32 ms before timer expiration is available in all timer modes, but is most relevant for Watchdog and General purpose timer modes. See register INTEN_SYSTEM_SET.
Timer Free event and interrupt in INTEN_SYSTEM_SET can be used to determine when TIMER becomes free. The interrupt is available when software stops a timer (or boot monitor) and whenever the general purpose timer expires.