AIIS-3400/3410 User Manual
68
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
------------------------------------------------
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-3400
Страница 1: ...User Manual AIIS 3400 3410 Machine Vision System Computer ...
Страница 8: ...AIIS 3400 3410 User Manual viii ...
Страница 13: ...Chapter 1 1 General Introduction This chapter gives background information on the AIIS 3400 3410 series ...
Страница 18: ...AIIS 3400 3410 User Manual 6 ...
Страница 34: ...AIIS 3400 3410 User Manual 22 2 11 DIO Installation Figure 2 21 DIO Installation ...
Страница 35: ...Chapter 3 3 AMI BIOS Setup ...
Страница 63: ...Chapter 4 4 Software Installation This chapter introduces driver installation ...
Страница 71: ...Appendix A A Programming the Watchdog Timer ...
Страница 79: ...Appendix B B Programming 8 bit DIO GPIO ...
Страница 82: ...AIIS 3400 3410 User Manual 70 ...
Страница 83: ...Appendix C C 32 bit DIO Signal Connections ...
Страница 86: ...AIIS 3400 3410 User Manual 74 ...
Страница 87: ...Appendix D D Exploded Diagram Parts List ...
Страница 88: ...AIIS 3400 3410 User Manual 76 D 1 Exploded Diagram Figure D 1 Exploded Diagram ...