System Installation
RUBY-7720VG2A User’s Manual
3-8
3.6 GPIO
J22 : General Purpose Input/Output Interface Connector
There are 8 GPIO pins on RUBY-7720VG2A. GP0, GP1, GP2 and GP3 are dedicated
GPO pins with 100mA current sink capacity at 5V signal level. The output signals
have internal weak pull-high resistance, 4.7K Ohm, to 5V. The GPO signals are
driven by W83627HG SGP0 ~ 3 pins with four inverted gates.
GP4, GP5, GP6 and GP7 are dedicated GPI pins. They are first inverted and then
connected to W83627HG SGP4~7 pins.
Refer to the W83627HG data sheet to configure both input / output port , SGP0~7, by
programming W83627HG GPIO registers. To read/write these 8 GPIO pins is simply
to read /write W83627HG SGP0~7 data register with setting inversed register bits
due to there are inversed logical gates existing between this GPIO connector, J20, and
W83627HG SGP0~7 pins.
3.6.1 Pin
assignment
J22 : General Purpose I/O Connector
PIN No.
Signal Description
1
General Purpose Input Port 4
2
General Purpose Output Port 0
3
General Purpose Input Port 5
4
General Purpose Output Port 1
5
General Purpose Input Port 6
6
General Purpose Output Port 2
7
General Purpose Input Port 7
8
General Purpose Output Port 3
9 Ground
10 +5V