English
Language : 

LAN9500 Datasheet, PDF (42/213 Pages) SMSC Corporation – USB 2.0 to 10/100 Ethernet Controller Promiscuous mode
LAN950x
5.3.3.2 Register Read Command
The commands allows the Host to read a single register. Burst reads are not supported. All reads return 32-bits.
TABLE 5-35:
Offset
0h
1h
2h
4h
6h
FORMAT OF REGISTER READ SETUP STAGE
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Value
C0h
A1h
00h
{0h, CSR Address[11:0]}
04h
TABLE 5-36: FORMAT OF REGISTER READ DATA STAGE
Offset
Field
0h Register Read Data [31:0]
5.3.3.3 Get Statistics Command
The Get Statistics Command returns the entire contents of the statistics RAMs. The wIndex field is used to select the
RX or TX statistics.
Note: (LAN9500/LAN9500i ONLY):
The contents of the statistics RAM is cleared after the command is processed.
(LAN9500A/LAN9500Ai ONLY):
The contents of the statistics RAM is snapshot when fulfilling the command request. The statistics counters
rollover, hence the RAM is not cleared.
TABLE 5-37: FORMAT OF GET STATISTICS SETUP STAGE
Offset
0h
1h
2h
4h
6h
bmRequestType
bRequest
wValue
wIndex
wLength
Field
Value
C0h
A2h
00h
Note 5-19
Note 5-20
Note 5-19 0b - Retrieves RX statistics. 1b - Retrieves TX statistics.
Note 5-20 20h for RX statistics. 28h for TX statistics.
DS00001875A-page 42
 2010 - 2015 Microchip Technology Inc.