Rainbow Electronics W90P710CDG User Manual
Page 389
W90P710CD/W90P710CDG
Publication Release Date: September 19, 2006
- 389 -
Revision B2
6.15 General-Purpose Input/Output
The General-Purpose Input/Output (GPIO) module possesses 71 pins and serves multiple function
purposes. Each port can be configured by software to meet various system configurations and design
requirements. Software must configure each pin before starting the main program. If a pin is not used for
multiplexed functions, the pin can be configured as I/O port
Two extended interrupts nIRQ4 (GPIO0 pin) and nIRQ5 (nWAIT pin) are used the same interrupt request
(channel #31) of AIC. It can be programmed as low/high sensitive or positive/negative edge triggered.
When interrupt #31 assert in AIC, software can poll XISTATUS status register to identify which interrupt
occur.
These 71 IO pins are divided into 7 groups according to its peripheral interface definition.
y
Port0: 5-pin input/output port
y
Port1: 10-pin input/output port
y
Port2: 10-pin input/output port
y
Port3: 8-pin input/output port
y
Port4: 11-pin input/output port
y
Port5: 15-pin input/output port
y
Port6: 12-pin input/output port
Table 6.16.1 GPIO multiplexed functions table
PORT0
Configurable Pin Functions
0
GPIO0
AC97_nRESET
(I2S_MCLK)
nIRQ4 USBPWREN
1
GPIO1
AC97_DATAI
(I2S_DATAI)
PWM0 DTR3
2
GPIO2
AC97_DATAO
(I2S_DATAO)
PWM1 DSR3
3
GPIO3
AC97_SYNC
(I2S_LRCLK)
PWM2 TXD3
4
GPIO4
AC97_BITCLK
(I2S_BITCLK)
PWM3 RXD3
PORT1
Configuration Pin Functions
0 GPIO20 SC1_PWR
nXDACK VD8
1 GPIO21 SC1_PRES
nXDREQ VD9
2 GPIO22 SC1_RST
SD_CD
VD10
3 GPIO23 SC1_CLK
-
VD11
4 GPIO24 SC1_DAT
SD_DAT3 VD12
5 GPIO25 SC0_PWR
SD_DAT2 VD13