B: gpi/o p, Ppendix, Rogramming – NEXCOM NDiS OPS-M50 User Manual
Page 94: Uide
Advertising

Copyright © 2012 NEXCOM International Co., Ltd. All Rights Reserved.
79
NDiS OPS-M50 User Manual
Appendix B: GPI/O Programming Guide
a
PPendix
B: gPi/o P
rogramming
g
uide
This appendix provides definitions for the GPI/O pins in NDiS OPS-M50.
GPI/O (General Purpose Input/Output) pins are provided for custom system
design. The pin programmed as input mode (GPI) or output mode (GPO)
depends on the configuration.
GPIO Configuration
Address: A06
DATA
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
GPIO mapping
GPO4
GPO3
GPO2
GPO1
GPI4
GPI3
GPI2
GPI1
Example:
Output data (1010) through GPO
Step 1 : At Debug mode
Step 2 : Set Data at address A06
C:\debug
-o A06 50
Read data from GPI
Step 1 : At Debug mode
Step 2 : Read Data at A06 (Input data is 1010)
C:\debug
-i A06
-5F
Advertising