System Installation
ROBO-8914VG2AR User’s Manual
3-10
//* Step4. Config WDT using second to be unit:
outportb(0x2E, 0xf5);
outportb(0x2E + 1, 0x00);
//* Step5. Set WDT time-out time:
outportb(0x2E, 0xf6);
outportb(0x2E + 1, time_out);
//* Step6. Exit configuration registers mode:
outportb(0x2E, 0xaa);
3.6
GPIO
The ROBO-8914VG2AR provides 8 programmable input or 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.
3.6.1
Pin assignment
J15 : General Purpose I/O Connector
PIN No.
Signal Description
1
General Purpose I/O Port 0 (GPIO0)
2
General Purpose I/O Port 4 (GPIO4)
3
General Purpose I/O Port 1 (GPIO1)
4
General Purpose I/O Port 5 (GPIO5)
5
General Purpose I/O Port 2 (GPIO2)
6
General Purpose I/O Port 6 (GPIO6)
7
General Purpose I/O Port 3 (GPIO3)
8
General Purpose I/O Port 7 (GPIO7)
9
Ground
10
+5V
All General Purpose I/O ports can only apply to standard TTL
±
5% signal level
(0V/5V), and each source sink capacity up to 12mA.