User`s manual
System Installation
RUBY-9719VG2AR User’s Manual 3-10
3.6 GPIO Programming Guide
The RUBY-9719VG2AR provides 8 input/output ports that can be individually
configured to perform a simple basic I/O function. Users can configure each
individual port to become an input or output port by programming register bit of
I/O Selection. To invert port value, the setting of Inversion Register has to be made.
Port values can be set to read or write through Data Register.
The GPIO port is located on J31 shown as follows. Please note: DO NOT SHORT-
CIRCUIT PIN 9 AND 10 OF J31!
J29 : 8-bit GPIO pin header
PIN No. Signal Description PIN No.
Signal Description
1 GPIO23 2 GPIO60
3 GPIO22 4 GPIO61
5 GPIO24 6 GPIO62
7 GPIO27 8 GPIO63
9 Ground 10 +5V
All 8 GPIO pins come from W83627UHG, Winbond. All of them are TTL-level, bi-
directional pins and open-drain outputs with 12mA sink capability.
Users can refer to W83627UHG, Winbond datasheet to configure each individual
port to become an input or output port by programming register bit of I/O Selection.
To invert port value, the setting of Inversion Register has to be made. Port values can
be set to read or write through Data Register.