
ACO-6000 l User’s Manual
105
WDT Sample Code
SIO_INDEX_Port
equ 02Eh
SIO_DATA_Port
equ 02Fh
SIO_UnLock_Value
equ 087h
SIO_Lock_Value
equ 0AAh
WatchDog_LDN
equ 008h
WDT_UNIT
equ 00h ;
00h=second, 80h=minute,
WDT_Timer
equ 30 ;
ex. 30 seconds
Sample code:
;Enable config mode
mov
dx, SIO_INDEX_Port
mov
al, SIO_UnLock_Value
out
dx, al
jmp
short $+2
;Io_delay
jmp
short $+2
;Io_delay
out
dx, al
;Change to WDT
mov
dx, SIO_INDEX_Port
mov
al, 07h
out
dx, al
mov
dx, SIO_DATA_Port
mov
al, WatchDog_LDN
out
dx, al
;Acive WDT
mov
dx, SIO_INDEX_Port
mov
al, 30h
out
dx, al
mov
dx, SIO_DATA_Port
in
al, dx
or
al, 01h
out
dx, al
;set UNIT
mov
dx, SIO_INDEX_Port
mov
al, 0F0h
out
dx, al
mov
dx, SIO_DATA_Port
in
al, dx
and
al,0f4h
;
clear "Select Watchdog Timer I count mode”
or
al, 02h
; Enable the rising edge of a KBC reset (P20) to issue a time-out event.
or
al, WDT_UNIT
out
dx, al
;set timer
mov
dx, SIO_INDEX_Port
mov
al, 0F1h
out
dx, al
mov
dx, SIO_DATA_Port
mov
al, WDT_Timer
out
dx, al
;close config mode
mov
dx, SIO_INDEX_Port
mov
al, SIO_Lock_Value
out
dx, al
Appendix – WDT & GPIO
Summary of Contents for ACO-6000-8L
Page 1: ...ACO 6000 Series Surveillance Applied Fanless System...
Page 9: ...Chapter 1 Product Introductions...
Page 39: ...Chapter 2 Switches and Connectors...
Page 41: ...ACO 6000 l User s Manual 41 Chapter 2 Switches and Connectors 2 1 2 Bottom View...
Page 60: ...Chapter 3 System Setup...
Page 84: ...Chapter 4 BIOS Setup...
Page 108: ...Copyright C T Solution Inc All Rights Reserved www candtsolution com...