108 PCM-6890 User Manual
Example
Following is an example of programming 32 sec period for watch-
dog timer in assembly language. When timer times out, it will
generate signal of system reset.
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
;; write 01h to register 30h to
activate
;; timer
call
W977Write ;; mov bl,8
;; Select logical device number 8
mov ax,01f2h
;; write time-out value (01h) to
register
;; F2h
call
W977Write ;; set time-out value to 32 sec
pop
dx
pop
cx
pop
bx
mov
ah,4ch
int
21h
ret
SetWatchDog_Time ENDP
Содержание PCM-6890
Страница 1: ...PCM 6890 All in One Socket 370 Celeron Single Board Computer with LCD Ethernet Audio 4 COMs...
Страница 11: ......
Страница 12: ......
Страница 19: ...Chapter 1 General Information 7 Board layout...
Страница 24: ...12 PCM 6890 User Manual Locating jumpers SW1 J5 J9 J8 J10 J1 J2 J7 J6 J3 J4...
Страница 92: ...80 PCM 6890 User Manual...
Страница 116: ...104 PCM 6890 User Manual...
Страница 124: ...112 PCM 6890 User Manual...
Страница 128: ...116 PCM 6890 User Manual...
Страница 129: ...Appendix C Optional Extras 117 C Optional Extras A P P E N D I X...
Страница 132: ...120 PCM 7890 User Manual...