![Advantech PCA-6763 User Manual Download Page 91](http://html1.mh-extra.com/html/advantech/pca-6763/pca-6763_user-manual_2858360091.webp)
PCA-6763 User Manual
80
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 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 Register
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 PCA-6763
Page 7: ...PCA 6763 User Manual vi ...
Page 11: ...PCA 6763 User Manual x ...
Page 12: ...Chapter 1 1 Hardware Configuration ...
Page 22: ...Chapter 2 2 Connecting Peripherals ...
Page 37: ...PCA 6763 User Manual 26 ...
Page 38: ...Chapter 3 3 AMI BIOS Setup ...
Page 46: ...35 PCA 6763 User Manual Chapter 3 AMI BIOS Setup 3 2 2 7 IDE Configuration ...
Page 53: ...PCA 6763 User Manual 42 ...
Page 62: ...Chapter 4 4 Value Added Software Services ...
Page 64: ...Chapter 5 5 Chipset Software Installation Utility ...
Page 66: ...Chapter 6 6 LAN Configuration ...
Page 68: ...Appendix A A Programming the Watchdog Timer ...
Page 76: ...Appendix B B I O Pin Assignments ...
Page 89: ...PCA 6763 User Manual 78 ...