Programming the watchdog timer
How to program the WATCHDOG TIMER
1.To set the
outportb(0x443, 30); // set watchdog to 30 seconds
2. To set the
•0: reset system
•1, 2, 3: IRQ 10, 15, 11 respectively
•4: NMI
e.g.
outportb(0x444, 0); // set
3. To disable watchdog timer:
outportb(0x443, 0); // disable watchdog timer
4.To ebable or refresh watchdog timer(the watchdog timer will return to its initial value, then count down):
outportb(0x443, data); // refresh watchdog timer
*note: if you want to refresh the watchdog timer, you have to disable it first.
98