ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
27
readchip endp
writechip proc
out 22h, al
nop
nop
xchg ah, al
out 23h, al
nop
nop
xchg ah, al
ret
writechip endp
end main
Reset watchdog timer
R e s e t s t h e w a t c h d o g t i m e r p e r i o d i c a l l y to prevent timeout.
mov ax, 0c513h ; Unlock configuration
; register
call writechip
mov ax, 03C3Ch ; Reset watchdog timer
; counter
call readchip
or al, 00100000b ; The counter is reset at
xchg ah, al ; out 23h, al
call writechip
mov ax, 00013h ; Lock configuration
; register
call writechip
( t h e a b o v e c o d e u s e s r e a d c h i p a n d w r i t e c h i p p r o c e d u r e s )
Summary of Contents for ICOP-6050
Page 4: ...iv...