Demo program
outportb(0x444, 0): | // set |
outportb(0x443x 10); | // set |
customer_job(); | // execute your job here, be sure your |
| job will finished within 10 seconds |
outportb(0x443, 0); | // refresh watchdog timer, otherwise |
| the system will reset after |
outputb(0x443, 20); | // set |
another_job(); | // another job finished in 20 seconds |
outportb(0x443, 0) | // disable watchdog timer |
... |
|
... |
|
Appendix A Programming the Watchdog Timer 99