System Installation
PEB-2737VLA User
’s Manual
3-7
Refer to the W83627DHG data sheet to configure both input / output port,
SGP30~37, by programming W83627DHG GPIO registers. Users can configure each
individual port to be an input or output port by programming respective bit in
selection register (0 =output, 1 = input). Invert port value by setting inversion
register (0 = non -inverse, 1 = inverse). Port value is read / written through data
register.
In addition, only GP30, GP31 and GP35 are designed to be able to assert PSOUT# or
PME# signal to wake up the system if any of them has any transitions. There are
about 16mS debounced circuit inside these 3 GPIOs and it can be disabled by
programming respective bit (LD9, CR[FEh] bit 4~6).
3.6.2
Pin assignment
CN9: General Purpose I/O Connector
PIN No.
Signal Description
1
General Purpose Input Port 10
2
General Purpose Output Port 14
3
General Purpose Input Port 11
4
General Purpose Output Port 15
5
General Purpose Input Port 12
6
General Purpose Output Port 16
7
General Purpose Input Port 13
8
General Purpose Output Port 17
9
Ground
10
+5V
Programming Guide :
Must enter extended function mode ( Double I/O write 0x87 to EFIR ) first, then
follow the following steps for accessing GPIO pins. When completion of GPIO
access, Exit extended mode ( I/O write 0xaa to EFIR ).
void enter_Superio_CFG(void)
{
outportb(Superio_Addr, 0x87);
outportb(Superio_Addr, 0x87);
}
void exit_Superio_CFG(void)
{
outportb(Superio_Addr, 0xAA);
}