EasyManuals Logo

MSI MS-9A29 User Manual

MSI MS-9A29
52 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #51 background imageLoading...
Page #51 background image
A-3
MS-9A29
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the MSI MS-9A29 and is the answer not in the manual?

MSI MS-9A29 Specifications

General IconGeneral
BrandMSI
ModelMS-9A29
CategoryDesktop
LanguageEnglish

Related product manuals