Programming The Watchdog Timer - Aaeon MB-562 Manual

Table of Contents

Advertisement

outportb(0x444, 0):
outportb(0x443x 10);
iutportb(0x443);
customer_job();
outportb(0x80, 0);
outputb(0x443, 20);
inportb(0x443);
another_job();
outportb(0x80, 0)
...
...
// set time-out event to reset-system
// set time-out interval to 10 seconds
// enable watchdog timer
// execute your job here, be sure your
job will finished within 10 seconds
// refresh watchdog timer, otherwise
the system will reset after time-out
// set time-out interval to 20 seconds
// enable watchdog timer
// another job finished in 20 seconds
// disable watchdog timer
Appendix A Programming the Watchdog Timer
99

Advertisement

Table of Contents
loading

Table of Contents