TIMER can be used in the following ways, depending on configuration in CONFIG.

  • Boot monitor
  • Watchdog timer
  • Wakeup timer
  • General purpose timer
TIMER only runs one configuration at a time because it is shared for all functions. TIMER target is a 24-bit number split into three registers TARGET. The least significant bit (LSB) is equal to 15.625 ms. The value can be calculated using the given equation:

Note: Timer target registers contain non-zero default values after power-up and reset.

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.