System Installation
RUBY-9712VG2A User’s Manual
3-9
1 2 3 4 5
5 4
3
2 1
10
9 8
7 6
Definitions of Variables:
Value of
Count-mode Register
:
1) 0x00 -- Count down in seconds (Bit3=0)
2) 0x08 -- Count down in minutes (Bit3=1)
Value of
Time-out Value Register
:
1) 0x00 -- Time-out Disable
2) 0x01~0xFF -- Value for counting down
3.7 GPIO
The RUBY-9712VG2A provides 4 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.
Additionally, 4-extra Digital Output ports inversely amplified signals from GPIO
ports.
3.7.1 Pin
assignment
J23: General Purpose I/O Connector
PIN No.
Signal Description
1
General Purpose I/O Port 1 (GPIO1) SIO-GP26
2
General Purpose I/O Port 2 (GPIO2) SIO-GP25
3
General Purpose I/O Port 3 (GPIO3) SIO-GP24
4
General Purpose I/O Port 4 (GPIO4) SIO-GP23
5 Ground
6
Buffered Digital Output Port 1 (DO1) SIO-GP10
7
Buffered Digital Output Port 2 (DO2) SIO-GP11
8
Buffered Digital Output Port 3 (DO3) SIO-GP12
9
Buffered Digital Output Port 4 (DO4) SIO-GP13
10 +5V