System Installation
ROBO-8910VG2A User’s Manual
3-9
3.6 GPIO
The ROBO-8910VG2A 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.
J15 : GPIO Connector from Super I/O
PIN No.
Signal Description
PIN No.
Signal Description
1
GPIO Port10
2
GPIO Port14
3
GPIO Port11
4
GPIO Port15
5
GPIO Port12
6
GPIO Port16
7
GPIO Port13
8
GPIO Port17
9 Ground
10 +5V
Additionally, 4-extra Digital Output ports inversely amplified signals from GPIO
ports. There are open-drain buffers, which can offer greater driving capacity up to
100mA.
There are two PnP I/O port addresses that can be used to configure GPIO ports,
1) 0x2E - EFER (Extended Function Enable Register, for entering Extended Function
Mode)
- EFIR (Extended Function Index Register, for identifying CR index number)
2) 0x2F - EFDR (Extended Function Data Register, for accessing desired CR)
Below are some example codes, which demonstrate the use of GPIOs.
// Enter Extended Function Mode
outp(0x002E, 0x87);
outp(0x002E, 0x87);
// Assign Pin121-128 to be GPIO port 1
outp(0x002E, 0x29);
outp(0x002F,0x7F) ;
// Select Logic Device 7
outp(0x002E, 0x07);
outp(0x002F, 0x07);
// Active Logic Device 7
outp(0x002E, 0x30);