AIIS-1440 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.
Summary of Contents for AIIS-1440
Page 1: ...User Manual AIIS 1440 USB3 CAM Control System ...
Page 10: ...AIIS 1440 User Manual x ...
Page 16: ...AIIS 1440 User Manual 6 ...
Page 32: ...AIIS 1440 User Manual 22 ...
Page 33: ...Chapter 3 3 AMI BIOS Setup ...
Page 61: ...Appendix A A Programming the Watchdog Timer ...
Page 69: ...Appendix B B Programming 8 bit DIO GPIO ...
Page 72: ...AIIS 1440 User Manual 62 ...
Page 73: ...Appendix C C 32 bit DIO Signal Connections ...
Page 76: ...AIIS 1440 User Manual 66 ...
Page 77: ...Appendix D D Explored Diagram Parts List ...
Page 78: ...AIIS 1440 User Manual 68 D 1 Explored Diagram Figure D 1 Explored Diagram ...
Page 80: ...AIIS 1440 User Manual 70 ...
Page 82: ...AIIS 1240 User Manual 72 ...