eBOX622-830-FL Series U
ser’s Manual
Watchdog Timer
77
Sample Program
Assembly sample code :
;Un-lock super I/O:
mov
dx,2Eh
mov
al,87
out
dx,al
out
dx,al
;Select Logic device:
mov
dx,2Eh
mov
al,07h
out
dx,al
mov
dx,2Fh
mov
al,07h
out
dx,al
;WDT Device Enable:
mov
dx,2Eh
mov
al,30h
out
dx,al
mov
dx,2Fh
mov
al,01h
out
dx,al
;Activate WDT:
mov
dx,2Eh
mov
al,F0h
out
dx,al
mov
dx,2Fh
mov
al,80h
out
dx,al
;Set base timer :
mov
dx,2Eh