17. Watchdog timer(WDT)ΒΆ

The independent watchdog is based on a 12-bit downcounter and 8-bit prescaler. It is clocked from an independent 32 kHz internal RC and as it operates independently from the main clock, it can operate in Stop and Standby modes. It can be used either as a watchdog to reset the device when a problem occurs, or as a free-running timer for application timeout management. It is hardware- or software-configurable through the option bytes.

User guide:

  1. configure WDT reset or interrupt

  2. Select WDT time out

  3. Clear WDT