PCE-3029/4129 User Manual
96
C.1
Supported GPIO Register
Below are the detailed descriptions of the GPIO addresses and a programming sam-
ple.
C.2
GPIO Registers
C.3
GPIO Example Program-1
------------------------------------------------
Enter the extended function mode, interruptible double-write
------------------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
---------------------------------------------------------------
Configure logical device, configuration register CRE0,CRE1,CRE2
---------------------------------------------------------------
MOV DX,2EH
MOV AL,09H
OUT DX,AC
DEC DX
MOV AL,30H
OUT DX,AL
INC DX
IN AL,DX
OR AL,10000000B
DEC DX
MOV AL,07H
OUT DX,AL
Bank
Offset Description
09h
30h Write 1 to bit 7 to enable GPIO
07h
E0h
GPIO I/O Register
When set to a '1', respective GPIO port is programmed
as an input port.
When set to a '0', respective GPIO port is programmed
as an output port.
07h
E1h
GPIO Data Redister
If a port is programmed to be an output port, then its
respective bit can be read/written.
If a port is programmed to be an input port, then its
respective bit can only be read.
07h
E2h
GPIO Inversion Register
When set to a '1', the incoming/outgoing port value is
inverted.
When set to a '0', the incoming/outgoing port value is
the same as in data register.
Summary of Contents for PCE-3029
Page 11: ...Chapter 1 1 Hardware Configuration ...
Page 21: ...Chapter 2 2 Connecting Peripherals ...
Page 37: ...Chapter 3 3 AMI BIOS Setup ...
Page 69: ...Chapter 4 4 Value Added Software Services ...
Page 71: ...Chapter 5 5 Chipset Software Installation Utility ...
Page 74: ...PCE 3029 4129 User Manual 64 ...
Page 75: ...Chapter 6 6 Integrated Graphic Device Setup ...
Page 77: ...Chapter 7 7 LAN Configuration ...
Page 79: ...Chapter 8 8 Intel ME ...
Page 81: ...Chapter 9 9 Intel USB 3 0 ...
Page 83: ...Chapter 10 10 SATA RAID Setup ...
Page 85: ...Appendix A A Programming the Watchdog Timer ...
Page 93: ...Appendix B B I O Pin Assignments ...
Page 105: ...Appendix C C Programming the GPIO ...