Datasheet

48 / 65 W5500 Datasheet Version1.0 (August 2013)
0x40
RECV
RECV completes the processing of the received data in Socket n RX
Buffer by using a RX read pointer register (Sn_RX_RD).
For more details, refer to Socket n RX Received Size Register
(Sn_RX_RSR), Socket n RX Write Pointer Register (Sn_RX_WR), and
Socket n RX Read Pointer Register (Sn_RX_RD).
Sn_IR (Socket n Interrupt Register) [R] [0x0002] [0x00]
Sn_IR indicates the status of Socket Interrupt such as establishment, termination,
receiving data, timeout). When an interrupt occurs and the corresponding bit of
Sn_IMR is „1‟, the corresponding bit of Sn_IR becomes „1‟.
In order to clear the Sn_IR bit, the host should write the bit to „1‟.
7
6
5
4
3
2
1
0
Reserved
Reserved
Reserved
SEND_OK
TIMEOUT
RECV
DISCON
CON
Bit
Symbol
Description
7~5
Reserved
Reserved
4
SEND_OK
Sn_IR(SENDOK) Interrupt
This is issued when SEND command is completed.
3
TIMEOUT
Sn_IR(TIMEOUT) Interrupt
This is issued when ARP
TO
or TCP
TO
occurs.
2
RECV
Sn_IR(RECV) Interrupt
This is issued whenever data is received from a peer.
1
DISCON
Sn_IR(DISCON) Interrupt
This is issued when FIN or FIN/ACK packet is received from a peer.
0
CON
Sn_IR(CON) Interrupt
This is issued one time when the connection with peer is successful and
then Sn_SR is changed to SOCK_ESTABLISHED.