30.3.3.3 Restart After Error

If an incorrect sequence of commands is written to the COMMAND register, the ERROR flag and other flags will be set in the INTFLAGS register to indicate an error and what caused it, and the SWDT counter will stop counting. The error can be cleared by writing a ‘1’ to the ERROR bit in the INTFLAGS register; this will clear all flags in the INTFLAGS register. Clearing the error will also restart the SWDT, meaning that the RESET value will be loaded into the CNT register and counting will begin.