PCE-5026 User Manual
86
C.1
Supported GPIO Register
Below are the detailed descriptions of the GPIO addresses and 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
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 pro-
grammed as an input port.
When set to a '0', respective GPIO port is pro-
grammed 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-5026
Page 11: ...Chapter 1 1 Hardware Configuration...
Page 23: ...Chapter 2 2 Connecting Peripherals...
Page 35: ...Chapter 3 3 AMI BIOS Setup...
Page 64: ...PCE 5026 User Manual 54...
Page 65: ...Chapter 4 4 Chipset Software Installation Utility...
Page 68: ...PCE 5026 User Manual 58...
Page 69: ...Chapter 5 5 Integrated Graphic Device Setup...
Page 71: ...Chapter 6 6 LAN Configuration...
Page 73: ...Chapter 7 7 Intel ME...
Page 75: ...Appendix A A Programming the Watchdog Timer...
Page 83: ...Appendix B B I O Pin Assignments...