English
Language : 

LAN9303 Datasheet, PDF (164/366 Pages) SMSC Corporation – Small Form Factor Three Port 10/100 Managed Ethernet Switch with Single MII/RMII/Turbo MII
13.2.4.8
Small Form Factor Three Port 10/100 Managed Ethernet Switch with Single MII/RMII/Turbo MII
Datasheet
Switch Fabric CSR Interface Direct Data Registers (SWITCH_CSR_DIRECT_DATA)
Offset:
200h - 2DCh
Size:
32 bits
This write-only register set is used to perform directly addressed write operations to the Switch Fabric
CSR’s. Using this set of registers, writes can be directly addressed to select Switch Fabric registers,
as specified in Table 13.4.
Writes within the Switch Fabric CSR Interface Direct Data Registers (SWITCH_CSR_DIRECT_DATA)
address range automatically set the appropriate CSR Address (CSR_ADDR[15:0]), set the four CSR
Byte Enable (CSR_BE[3:0]) bits, clear the Read/Write (R_nW) bit and set the CSR Busy (CSR_BUSY)
bit in the Switch Fabric CSR Interface Command Register (SWITCH_CSR_CMD). The completion of
the write cycle is indicated when the CSR Busy (CSR_BUSY) bit is cleared. The address that is set
in the Switch Fabric CSR Interface Command Register (SWITCH_CSR_CMD) is mapped via
Table 13.4. For more information on this method of writing to the Switch Fabric CSR’s, refer to Section
6.2.3, "Flow Control Enable Logic," on page 62.
BITS
DESCRIPTION
31:0 Switch CSR Data (CSR_DATA)
This field contains the value to be written to the corresponding Switch Fabric
register.
TYPE
WO
DEFAULT
00000000h
Note: This set of registers is for write operations only. Reads can be performed via the Switch Fabric
CSR Interface Command Register (SWITCH_CSR_CMD) and Switch Fabric CSR Interface
Data Register (SWITCH_CSR_DATA) registers only.
Table 13.4 Switch Fabric CSR to SWITCH_CSR_DIRECT_DATA Address Range Map
REGISTER NAME
SW_RESET
SW_IMR
MAC_RX_CFG_0
MAC_TX_CFG_0
MAC_TX_FC_SETTINGS_0
MAC_IMR_0
MAC_RX_CFG_1
MAC_TX_CFG_1
MAC_TX_FC_SETTINGS_1
MAC_IMR_1
SWITCH FABRIC CSR
REGISTER #
General Switch CSRs
0001h
0004h
Switch Port 0 CSRs
0401h
0440h
0441h
0480h
Switch Port 1 CSRs
0801h
0840h
0841h
0880h
SWITCH_CSR_DIRECT_DATA
ADDRESS
200h
204h
208h
20Ch
210h
214h
218h
21Ch
220h
224h
Revision 1.3 (08-27-09)
164
DATASHEET
SMSC LAN9303/LAN9303i