102 SBC-558 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
Summary of Contents for SBC-558
Page 1: ...SBC 558 Half Size Tillamook MMX CPU Card With LCD Ether net SSD...
Page 16: ...Chapter 1 General Information 7 Board layout...
Page 17: ...8 SBC 558 User Manual Board dimensions...
Page 20: ...Chapter 2 Installation 11 Locating jumpers J5 J1 J6 J4 J3 J2...
Page 53: ...44 SBC 558 User Manual...
Page 115: ...106 SBC 558 User Manual...
Page 119: ...110 SBC 558 User Manual...