ICOP Technology ICOP-602X User Manual page 33

Icop-602 series embedded 386sx cpu isa half size sbc
Table of Contents

Advertisement

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
Resets the watchdog timer periodically to prevent timeout.
mov ax, 0c513h ; Unlock configuration
call writechip
mov ax, 03C3Ch ; Reset watchdog timer
call readchip
or al, 00100000b ; The counter is reset at
xchg ah, al ; out 23h, al
call writechip
mov ax, 00013h ; Lock configuration
call writechip
(the above code uses readchip and writechip procedures)
ICOP Embedede 386SX CPU ISA Half Size SBC User's Manual
; register
; counter
; register
29

Advertisement

Table of Contents
loading

Table of Contents