Appendix B Digital I/O - AXIOMTEK AX12270 User Manual

V4 pc/104 cpu module with crt, lcd and ethernet
Table of Contents

Advertisement

Digital I/O Software Programming
GPI program sample:
O 2E 87
O 2E 87
o 2e 07
o 2f 07
O 2E 29
o 2f 80
o 2e 30
o 2f 01
o 2e f0
o 2f ff
o 2e f1
i 2f
FE
q
Digital I/O
AX12270 PC/104 Module Series User's Manual
A p p e n d i x B
Extended Functions Enable Register
Extended Functions Enable Register
EFIR=EFER (Extended Functions Index
Register) point to Logical Device Number
Reg.
EFDR=EFIR+1 (select logical device 7,
GPIO in logical device 7 )
Select CR29
(Define the PINs to be GPIO or Game Port
1) "80" Pin121 ~ 128 set GPIO
Select CR30 (Active or inactive)
Set 01 (Active), 00 (inactive)
Select CRF0 (Set the PINs to be GPO or
GPI Function)
Set the PINs to be GPI
Select CRF1 (Set the PINs to be Read
only??)
Show the PINs Status
Indicate GPO15 (CN15 Pin3) tie Low ,
other ties, High
Quit debug
Digital I/O
61

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AX12270 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents