Watchdog timer control sample program
$ cd ./(sample directory)
$ make
→ ./wdt, ./wdt.o
$ ./wdt 10
|_ time : wdt timer count[seconds]
Note)
There is about +/- 2 timeout tolerance by WDT.
When setting for 30 seconds, set the WDT retrigger before 28 seconds elapse.
If there is no retrigger, the system will be reset by WDT timeout.
System reset due to WDT time-up does not guarantee the data being written to Disk.