Appendix A Watchdog Timer 75
Example :
Following is an Example of programming 16 seconds period for
watchdog timer in assembly language. When timer times out, it
will generate system reset.
.model small
.code
CONFIG_PORT dw 3f0h
DATA_PORT dw 3f1H
SetWatchDog_Time PROC
push bx
push cx
push dx
mov bl,7 ;; Select Logical Device Number 7
mov ax,0130h ;; Register 30h write 01h to Active Function
call W977Write ;;
mov bl,8 ;; Select logical Device Number 8
mov ax,01f2h ;; Register F2h write Time-out value (01h)
call W977Write ;; watchdog time-out value is 16 sec
pop dx
pop cx
pop bx
mov ah,4ch
int 21h
ret
Содержание PCM-4335
Страница 1: ...PCM 4335 All in one 486DX 66 with Flat Panel CRT PC 104 Module...
Страница 8: ......
Страница 26: ...18 PCM 4335 User s Manual Winbond ST PC CLIENT CHIPS 69000 14 13 2 1 1 14 13 26 1 4 2 5 3 6 CN7 1 2 49 50...
Страница 39: ...C H A P T E R 3 AMIBIOS Setup This chapter describes how to set the BIOS configuration data...
Страница 64: ...56 PCM 4335 User Manual...
Страница 81: ...A Watchdog Timer A P P E N D I X...
Страница 87: ...B Installing PC 104 Modules This appendix gives instructions for installing PC 104 modules A P P E N D I X...