Installation guide

Appendix A Watchdog Timer Demo Program A-65
4. To refresh watchdog timer:
-- output the desired value to port 0x443. The timer will reset to
the new value and count down.
e.g. outportb(0x443,10); // set time-out interval to
10 sec
outportb(0x443,20); // reset watchdog timer to
20 sec
Demo program in C
outportb(0x444, 0); // set time-out event to reset-system
outportb(0x443, 10); // set time-out interval to 10 seconds
job1(); // execute your job here, be sure your job
will finished within 10 seconds
outputb(0x443,20); // set time-out interval to 20 seconds and
refresh watchdog timer, otherwise the
system will reset after time-out
job2(); // another job finished within 20 seconds
outportb(0x443, 0); // disable watchdog timer