Sn_Ir (Socket N Interrupt Register); Sn_Imr (Socket N Interrupt Mask Register) - Wiznet W7500 Reference Manual

W7500 series
Hide thumbs Also See for W7500:
Table of Contents

Advertisement

0x22
SEND_KEEP
0x40
RECV

Sn_IR (Socket n Interrupt Register)

Address Offset : 0x0020
Reset value : 0x0000_0000
31
30
29
28
res
Res
Res
res
15
14
13
12
res
Res
Res
res
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'.
[0] CONNECT Interrupt - This is issued one time when the connection with peer is successful
and then Sn_SR is changed to SOCK_ESTABLISHED
[1] DISCONNECT Interrupt - This is issued when FIN or FIN/ACK packet is received.
[2] RECV Interrupt - This is issued whenever data is received from a peer.
[3] TIMEOUT Interrupt - This is issued when ARP
[4] SENDOK Interrupt - This is issued when SEND command is completed

Sn_IMR (Socket n Interrupt Mask Register)

Address Offset : 0x0024
W7500x Reference Manual Version1.1.0
automatic
ARP-process(Address
SEND_MAC transmits data without the automatic ARP-process. In
this case, the destination hardware address is acquired from
Sn_DHAR configured by host, instead of APR-process.
Valid only in TCP mode.
It checks the connection status by sending 1byte keep-alive
packet. If the peer cannot respond to the keep-alive packet during
timeout time, the connection is terminated and the timeout
interrupt will occur.
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).
27
26
25
24
res
res
res
res
11
10
9
8
res
Res
res
res
Resolution
23
22
21
20
res
res
res
res
7
6
5
4
res
res
res
R
or TCP
occurs.
TO
TO
Protocol).
But
19
18
17
16
res
res
res
res
3
2
1
0
Sn_IR[4:0]
R
R
R
R
91 / 399

Advertisement

Table of Contents
loading

This manual is also suitable for:

W7500p

Table of Contents