30.3.3.4 Counter Expiration
When the SWDT counter expires (reaches zero), counting stops and the ERROR and EXP (Counter
Expiration) flags are set in the INTFLAGS register. Writing a ‘1
’ to the
ERROR bit in the INTFLAGS register will clear the error in addition to 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.