
A-3
WDT, GPIO, DIO
MS-9A66
GPIO Sample Code
GPI 0 ~ GPI 3
GPI 0 GPI 1 GPI 2 GPI 3
IO Address
SIO GPIO Register A2h
A2h
A2h
A2h
Bit
0
1
2
7
Sample code
#1
#1
#1
#1
GPO 0 ~ GPO 3
GPO 0 GPO 1 GPO 2 GPO 3
IO Address
SIO GPIO Register A1h
A1h
A1h
A1h
Bit
3
4
5
6
Sample code
#2
#2
#2
#2
SIO_INDEX_Port
equ
04Eh
SIO_DATA_Port
equ
04Fh
SIO_UnLock_Value
equ
087h
SIO_Lock_Value
equ
0AAh
SIO_LDN_GPIO
equ
06h
SIO_GPIO_Data
equ
0A1h
SIO_GPIO_Status
equ
0A2h
GPI_0
equ
00000001b
GPO_0
equ
00001000b
Sample Code:
#1 : Get GPI 0 status
; 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
; Switch GPIO Configuration for SIO LDN 0x06
mov
dx, SIO_INDEX_Port
mov
al, 07h
out
dx, al
mov
dx, SIO_DATA_Port
mov
al, SIO_LDN_GPIO
out
dx, al
; Get GPI 0 Pin Status Register
Summary of Contents for MS-9A66
Page 1: ...i MS 9A66 Industrial Data Machine...
Page 8: ......
Page 19: ...1 11 MS 9A66 Block Diagram MS 9A66 Q87 MS 9A66 C226...
Page 20: ...1 12 Overview Motherboard Jumpers JCMOS1 JAT1 JME1 JCOMP1...
Page 22: ...1 14 Overview ME Overview h h System Dimensions without Wall Mount...
Page 23: ...1 15 MS 9A66 h h System Dimensions with Wall Mount...
Page 24: ...1 16 Overview...
Page 28: ...1 20 Overview h h MS 9A66 C226 PCIe Card Dimensions 9A66 P1 15...
Page 30: ...1 22 Overview P1 17 PCI2 Card Dimension Limitation with 2 HDDs installed...
Page 31: ...1 23 MS 9A66 h h Mounting Brackets...
Page 32: ...1 24 Overview Mounting Bracket Screws Installation 1...
Page 33: ...1 25 MS 9A66 Installation 2...
Page 34: ......
Page 37: ...2 3 MS 9A66 3 Push the top cover gently forward 4 Remove the top cover from the system...
Page 53: ...2 19 MS 9A66 4 Connect the fan power connector to the motherboard...
Page 96: ......
Page 102: ......