Copyright © 2016 NEXCOM International Co., Ltd. All Rights Reserved.
83
NIFE 300 Series User Manual
Appendix C: GPI/O Programming Guide
a
PPendIx
C: gPI/o P
rogrammIng
g
uIde
GPI/O (General Purpose Input/Output) pins are provided for custom system design.
This appendix provides definitions and its default setting for the ten GPI/O pins in
the NIFE 300 series. The pin definition is shown in the following table:
Pin
GPI/O Mode
PowerOn
Default
Address
Pin
GPI/O Mode
PowerOn
Default
Address
1
VCC
-
-
2
GND
-
-
3
GPI
Low
A07h (Bit0)
4
GPO
Low
A07h (Bit4)
5
GPI
Low
A07h (Bit1)
6
GPO
Low
A07h (Bit5)
7
GPI
Low
A07h (Bit2)
8
GPO
Low
A07h (Bit6)
9
GPI
Low
A07h (Bit3)
10
GPO
Low
A07h (Bit7)
JP2 – GPI/O Connector
Pin
GPI/O Mode
PowerOn
Default
Address
A4
GPO
Low
A00h (Bit6)
A3
GPO
Low
A00h (Bit5)
A2
GPO
Low
A02h (Bit7)
A1
GPO
Low
A02h (Bit6)
LED4 – GPO LED
Control the GPO pin (4/6/8/10) level from I/O port A07h bit (4/5/6/7).
Control the GPO pin (A3/A4) level from I/O port A00h bit (5/6).
Control the GPO pin (A1/A2) level from I/O port A02h bit (6/7).
The bit is Set/Clear indicated output High/Low