English
Language : 

LAN9303MI-AKZE Datasheet, PDF (159/386 Pages) SMSC Corporation – Small Form Factor Three Port 10/100 Managed Ethernet Switch with Dual MII/RMII/Turbo MII
Small Form Factor Three Port 10/100 Managed Ethernet Switch with Dual MII/RMII/Turbo MII
Datasheet
13.2.2.4 LED Configuration Register (LED_CFG)
Offset:
1BCh
Size:
32 bits
This read/write register configures the GPIO[5:0] pins as LED[5:0] pins and sets their functionality.
BITS
DESCRIPTION
31:10
9:8
RESERVED
LED Function 1-0 (LED_FUN[1:0])
These bits control the function associated with each LED pin as shown in
Table 12.1 of Section 12.3, "LED Operation," on page 145.
Note:
In order for these assignments to be valid, the particular pin must
be enabled as an LED output pin via the LED_EN[5:0] bits of this
register.
7:6 RESERVED
5:0 LED Enable 5-0 (LED_EN[5:0])
This field toggles the functionality of the GPIO[5:0] pins between GPIO and
LED.
0: Enables the associated pin as a GPIO signal
1: Enables the associated pin as a LED output
When configured as LED outputs, the pins are either push-pull or open-
drain/open-source outputs and the pull-ups and input buffers are disabled.
Push-pull is selected when LED_FUN[1:0] = 11b, otherwise, they are open-
drain/open-source. When open-drain/open-source, the polarity of the pins
depends upon the strap value sampled at reset. If a high is sampled at reset,
then this signal is active low.
Note:
The polarity is determined by the strap value sampled on reset (a
hard-strap) and not the soft-strap value (of the shared strap) set via
EEPROM.
When configured as a GPIO output, the pins are configured per the General
Purpose I/O Configuration Register (GPIO_CFG) and the General Purpose
I/O Data & Direction Register (GPIO_DATA_DIR). The polarity of the pins
does not depend upon the strap value sampled at reset.
TYPE
RO
R/W
RO
R/W
DEFAULT
-
Note 13.2
-
Note 13.3
Note 13.2
The default value of this field is determined by the configuration strap LED_fun_strap[1:0]].
Configuration strap values are latched on power-on reset or nRST de-assertion. Some
configuration straps can be overridden by values from the EEPROM Loader. Refer to
Section 4.2.4, "Configuration Straps," on page 52 for more information.
Note 13.3
The default value of this field is determined by the configuration strap LED_en_strap[5:0].
Configuration strap values are latched on power-on reset or nRST de-assertion. Some
configuration straps can be overridden by values from the EEPROM Loader. Refer to
Section 4.2.4, "Configuration Straps," on page 52 for more information.
SMSC LAN9303M/LAN9303Mi
159
DATASHEET
Revision 1.5 (07-08-11)