beautypg.com

Csr address (csr_addr[15:0]), Datasheet – SMSC LAN9312 User Manual

Page 237

background image

High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface

Datasheet

SMSC LAN9312

237

Revision 1.4 (08-19-08)

DATASHEET

19:16

CSR Byte Enable (CSR_BE[3:0])
This field is a 4-bit byte enable used for selection of valid bytes during write
operations. Bytes which are not selected will not be written to the
corresponding Switch Engine CSR.

CSR_BE[3] corresponds to register data bits [31:24]
CSR_BE[2] corresponds to register data bits [23:16]
CSR_BE[1] corresponds to register data bits [15:8]
CSR_BE[0] corresponds to register data bits [7:0]

Typically all four byte enables should be set for auto increment and auto
decrement operations.

R/W

0h

15:0

CSR Address (CSR_ADDR[15:0])
This field selects the 16-bit address of the Switch Fabric CSR that will be
accessed with a read or write operation. Refer to

Table 14.12, “Indirectly

Accessible Switch Control and Status Registers,” on page 307

for a list of

Switch Fabric CSR addresses.

R/W

00h

BITS

DESCRIPTION

TYPE

DEFAULT