AIIS-1240 User Manual
60
B.1
Supported GPIO Register
Below are the detailed descriptions of the GPIO addresses and a programming sam-
ple.
B.2
GPIO Registers
B.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.
Содержание AIIS-1240
Страница 1: ...User Manual AIIS 1240 Power over Ethernet Control System...
Страница 10: ...AIIS 1240 User Manual x...
Страница 11: ...Chapter 1 1 General Introduction This chapter gives background information on the AIIS 1240 series...
Страница 16: ...AIIS 1240 User Manual 6...
Страница 32: ...AIIS 1240 User Manual 22...
Страница 33: ...Chapter 3 3 AMI BIOS Setup...
Страница 48: ...AIIS 1240 User Manual 38 Figure 3 20 Serial Port 4 Configuration Figure 3 21 Serial Port 5 Configuration...
Страница 61: ...Appendix A A Programming the Watchdog Timer...
Страница 69: ...Appendix B B Programming 8 bit DIO GPIO...
Страница 72: ...AIIS 1240 User Manual 62...
Страница 73: ...Appendix C C 32 bit DIO Signal Connections...
Страница 76: ...AIIS 1240 User Manual 66...
Страница 77: ...Appendix D D Explored Diagram Parts List...
Страница 78: ...AIIS 1240 User Manual 68 D 1 Explored Diagram Figure D 1 Explored Diagram...
Страница 80: ...AIIS 1240 User Manual 70...
Страница 82: ...AIIS 1240 User Manual 72...