Appendix A Programming the Watchdog Timer 103
Demo program
outportb(0x444, 0):
// set time-out event to reset-system
outportb(0x443x 10);
// set time-out interval to 10 seconds
iutportb(0x443);
// enable watchdog timer
customer_job();
// execute your job here, be sure your
job will finished within 10 seconds
outportb(0x80, 0);
// refresh watchdog timer, otherwise
the system will reset after time-out
outputb(0x443, 20);
// set time-out interval to 20 seconds
inportb(0x443);
// enable watchdog timer
another_job();
// another job finished in 20 seconds
outportb(0x80, 0)
// disable watchdog timer
...
...
Содержание PCM-5892
Страница 1: ...PCM 5894 PCM 5892 All in One Single Board Pentium Computer with SVGA Ethernet and 4 serial ports...
Страница 10: ......
Страница 18: ...8 PCM 5894 5892 User Manual...
Страница 56: ...46 PCM 5894 5892 User Manual...
Страница 100: ...9 0 PCM 5894 5892 User Manual...
Страница 114: ...104 PCM 5894 5892 User Manual...
Страница 119: ...Appendix C Optional Extras 109 C Optional Extras A P P E N D I X...