WDT & GPIO
Touch Panel PC
A-3
WDT & GPIO
Touch Panel PC
GPIO Sample Code
GPI 0 ~ GPI 3
GPI 0 GPI 1 GPI 2 GPI 3
IO Address
50Ch
50Ch
50Ch
50Ch
SIO GPIO Register
Bit
24
26
27
28
Sample code
#1
#1
#1
#1
GPO 0 ~ GPO 3
GPO 0 GPO 1 GPO 2 GPO 3
IO Address
538h
538h
538h
538h
SIO GPIO Register
Bit
1
2
6
7
Sample code
#2
#2
#2
#2
GPO_0
equ
00000010b
GPO_1
equ
00000100b
GPO_2
equ
01000000b
GPO_3
equ
10000000b
Sample Code:
#1 : Get GPI 0 status
; Get GPI 0/1/2/3 Pin Status Register
mov
dx, 50Ch
in eax, dx
;eax bit24 = GPI 0 status
;eax bit26 = GPI 1 status
;eax bit27 = GPI 2 status
;eax bit28 = GPI 3 status
#2 : Set GPO 0/1/2/3 status to high
; Set GPO 0/1/2/3 Status to high(1).
mov
dx, 538h
in eax, dx
or
eax, GPO_0 + GPO_1 + GPO_2 + GPO_3
out
dx,eax
Summary of Contents for MS-9A61
Page 1: ...MS 9A61 Touch Panel PC...
Page 14: ...1 8 Overview ME Overview...
Page 22: ...2 8 Getting Started Getting Started Mounting the System Panel Mounting...
Page 23: ...Touch Panel PC 2 9 Touch Panel PC...
Page 24: ...2 10 Getting Started Getting Started Wall Mounting...
Page 26: ...2 12 Getting Started Powering on the System Press the power button to power on the system...
Page 44: ......
Page 48: ......