English
Language : 

LAN9218 Datasheet, PDF (74/130 Pages) SMSC Corporation – High-Performance Single- Chip 10/100 Ethernet Controller with HP Auto-MDIX
5.3.7
High-Performance Single-Chip 10/100 Ethernet Controller with HP Auto-MDIX
Datasheet
RX_CFG—Receive Configuration Register
Offset:
6Ch
Size:
This register controls the LAN9218 receive engine.
32 bits
BITS
31:30
29-28
27-16
15
14-13
12-8
7-0
DESCRIPTION
RX End Alignment. This field specifies the alignment that must be
maintained on the last data transfer of a buffer. The LAN9218 will add
extra DWORDs of data up to the alignment specified in the table below.
The host is responsible for removing these extra DWORDs. This
mechanism can be used to maintain cache line alignment on host
processors.
Please refer to Table 5.2 for bit definitions
Note:
The desired RX End Alignment must be set before reading a
packet. The RX end alignment can be changed between reading
receive packets, but must not be changed if the packet is
partially read.
Reserved
RX DMA Count (RX_DMA_CNT). This 12-bit field indicates the amount
of data, in DWORDS, to be transferred out of the RX data FIFO before
asserting the RXD_INT. After being set, this field is decremented for each
DWORD of data that is read from the RX data FIFO. This field can be
overwritten with a new value before it reaches zero.
Force RX Discard (RX_DUMP). This self-clearing bit clears the RX data
and status FIFOs of all pending data. When a ‘1’ is written, the RX data
and status pointers are cleared to zero.
Note:
Please refer to section “Force Receiver Discard (Receiver
Dump)” on page 53 for a detailed description regarding the use
of RX_DUMP.
Reserved
RX Data Offset (RXDOFF). This field controls the offset value, in bytes,
that is added to the beginning of an RX data packet. The start of the valid
data will be shifted by the number of bytes specified in this field. An offset
of 0-31 bytes is a valid number of offset bytes.
Note:
The two LSBs of this field (D[9:8]) must not be modified while
the RX is running. The receiver must be halted, and all data
purged before these two bits can be modified. The upper three
bits (DWORD offset) may be modified while the receiver is
running. Modifications to the upper bits will take affect on the
next DWORD read.
Reserved
TYPE
R/W
RO
R/W
SC
RO
R/W
RO
Table 5.2 RX Alignment Bit Definitions
[31]
[30]
0
0
0
1
1
0
1
1
End Alignment
4-byte alignment
16-byte alignment
32-byte alignment
Reserved
DEFAULT
00b
-
000h
0
-
00000
-
Revision 1.5 (07-18-06)
74
DATASHEET
SMSC LAN9218