![Wiznet W7500 Reference Manual Download Page 107](http://html.mh-extra.com/html/wiznet/w7500/w7500_reference-manual_990600107.webp)
W7500x Reference Manual Version1.1.0
107 / 399
Ex) In case of 2048(0x0800) in S0_RXSR,
0x4101_0224
0x0800
Note) Because this register for representing the size information is 16 bits, it is impossible to
read all bytes at the same time. Before 16 bit-read operation is not completed, the value may
be changed.
Therefore, it is recommended that you read all 16-bits twice or more until getting the same
value.
Sn_RX_RD (Socket n RX Read Pointer Register)
Address Offset : 0x0228
Reset value : 0x0000_0000
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res
Res
Res
res
res
res
res
res
res
res
res
res
res
res
res
res
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Sn_RXRP[15:0]
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Sn_RX_RD is initialized by OPEN command. Make sure to be read or updated as follows.
1. Read the starting save address of the received data
2. Read data from the starting address of Socket n RX Buffer.
3. After reading the received data, Update Sn_RX_RD to the increased value as many as the
reading size. If the increment value exceeds the maximum value 0xFFFF, that is, is greater
than 0x10000 and the carry bit occurs, update with the lower 16bits value ignored the carry
bit.
4. Order RECV command is for notifying the updated Sn_RX_RD to TOE.
Ex) In case of 2048(0x0800) in S0_RX_RD,
0x4101_0228
0x08