I'm really a starter to aduino due and still find it hard to read the datasheet. (http://www.atmel.com/Images/doc11057.pdf) I've been trying to use a watchdog for my program. And more specifically, I wish to set a timer for like 2 secs or so, and if there is a fault or error, the watchdog will reset the whole system. Can someone help me figure out the code? Like what should I write down in setup() and other functions? Many thanks.
I believe that the following post can be of your interest to start working with the WDT: