English
Language : 

LAN9303 Datasheet, PDF (133/366 Pages) SMSC Corporation – Small Form Factor Three Port 10/100 Managed Ethernet Switch with Single MII/RMII/Turbo MII
Small Form Factor Three Port 10/100 Managed Ethernet Switch with Single MII/RMII/Turbo MII
Datasheet
12.2.1.1
GPIO Interrupt Polarity
The interrupt polarity can be set for each individual GPIO via the GPIO Interrupt Polarity 5-0
(GPIO_INT_POL[5:0]) bits in the General Purpose I/O Configuration Register (GPIO_CFG). When set,
a high logic level on the GPIO pin will set the corresponding interrupt bit in the General Purpose I/O
Interrupt Status and Enable Register (GPIO_INT_STS_EN). When cleared, a low logic level on the
GPIO pin will set the corresponding interrupt bit.
12.3 LED Operation
Each GPIO can be individually selected to function as a LED. These pins are configured as LED
outputs by setting the corresponding LED Enable 5-0 (LED_EN[5:0]) bit in the LED Configuration
Register (LED_CFG). When configured as a LED, the pin is either a push-pull or open-drain / open-
source output and the GPIO related input buffer and pull-up are disabled. The default configuration,
including polarity, is determined by input straps or EEPROM entries. Refer to Configuration Straps on
page 45 for additional information.
The functions associated with each LED pin are configurable via the LED Function 1-0 (LED_FUN[1:0])
bits of the LED Configuration Register (LED_CFG). These bits allow the configuration of each LED pin
to indicate various port related functions. These functions are described in Table 12.1, followed by a
detailed definition of each indication type.
The default values of the LED Function 1-0 (LED_FUN[1:0]) and LED Enable 5-0 (LED_EN[5:0]) bits
of the LED Configuration Register (LED_CFG) are determined by the LED_fun_strap[1:0] and
LED_en_strap[5:0] configuration straps. For more information on the LED Configuration Register
(LED_CFG) and its related straps, refer to Section 13.2.2.4, "LED Configuration Register (LED_CFG),"
on page 147.
Table 12.1 LED Operation as a Function of LED_FUN[1:0]
00b
01b
10b
11b
LED5
(GPIO5)
LED4
(GPIO4)
LED3
(GPIO3)
LED2
(GPIO2)
LED1
(GPIO1)
LED0
(GPIO0)
Link / Activity
Port 2
100Link / Activity
Port 2
Full-duplex / Collision Full-duplex / Collision
Port 2
Port 2
Speed
Port 2
10Link / Activity
Port 2
Link / Activity
Port 1
100Link / Activity
Port 1
Full-duplex / Collision Full-duplex / Collision
Port 1
Port 1
Speed
Port 1
10Link / Activity
Port 1
TX
Port 0
Link / Activity
Port 2
Speed
Port 2
RX
Port 0
Link / Activity
Port 1
Speed
Port 1
TX_EN
Port 0
TX_EN
Port 2
RX_DV
Port 2
RX_DV
Port 0
TX_EN
Port 1
RX_DV
Port 1
The various LED indication functions shown in Table 12.1 are described in the following sections.
SMSC LAN9303/LAN9303i
133
DATASHEET
Revision 1.3 (08-27-09)