![Advantech PCE-3032 Скачать руководство пользователя страница 102](http://html.mh-extra.com/html/advantech/pce-3032/pce-3032_user-manual_3048028102.webp)
PCE-3032/4132 User Manual
92
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
INC DX
MOV AL,07H ; Select logical device 7
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.
Содержание PCE-3032
Страница 6: ...PCE 3032 4132 User Manual vi ...
Страница 11: ...Chapter 1 1 Hardware Configuration ...
Страница 21: ...Chapter 2 2 Connecting Peripherals ...
Страница 33: ...Chapter 3 3 AMI BIOS Setup ...
Страница 39: ...29 PCE 3032 4132 User Manual Chapter 3 AMI BIOS Setup 3 2 2 3 Power Performance ...
Страница 45: ...35 PCE 3032 4132 User Manual Chapter 3 AMI BIOS Setup 3 2 2 9 HW Monitor ...
Страница 50: ...PCE 3032 4132 User Manual 40 ...
Страница 66: ...PCE 3032 4132 User Manual 56 ...
Страница 67: ...Chapter 4 4 Value Added Software Services ...
Страница 69: ...Chapter 5 5 Chipset Software Installation Utility ...
Страница 72: ...PCE 3032 4132 User Manual 62 ...
Страница 73: ...Chapter 6 6 Integrated Graphic Device Setup ...
Страница 75: ...Chapter 7 7 LAN Configuration ...
Страница 77: ...Chapter 8 8 Intel ME ...
Страница 79: ...Chapter 9 9 SATA RAID Setup ...
Страница 81: ...Appendix A A Programming the Watchdog Timer ...
Страница 89: ...Appendix B B I O Pin Assignments ...
Страница 101: ...Appendix C C Programming the GPIO ...