NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
174
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
14 General-Purpose Input/Output (GPIO)
14.1 Overview
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 pheripheral interface definition.
z
Port0: 5-pin input/output port
z
Port1: 10-pin input/output port
z
Port2: 10-pin input/output port
z
Port3: 8-pin input/output port
z
Port4: 11-pin input/output port
z
Port5: 15-pin input/output port
z
Port6: 12-pin input/output port
Table 14-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