Data Sheet
© Copyright 2013 WIZnet Co.,Ltd. All rights reserved. 
19
iEthernet 
W5200
IMR(Interrupt Mask Register)[R/W][0x0016][0x00] 
The Interrupt Mask Register is used to mask interrupts. Each interrupt mask bit corresponds to 
a bit in the  Interrupt  Register2  (IR2). If an interrupt mask bit is set,  an interruption  will  be 
issued whenever the corresponding bit in the IR2 is set. If any bit in the IMR is set as ‘0’ an 
interrupt will not occur though the bit.   
7  6  5  4  3  2  1  0 
S7_IMR  S6_IMR  S5_IMR  S4_IMR  S3_IMR  S2_IMR  S1_IMR  S0_IMR 
Bit
Symbol  Description 
7  S7_IMR  IR2(S7_INT) Interrupt Mask 
6  S6_IMR  IR2(S6_INT) Interrupt Mask 
5  S5_IMR  IR2(S5_INT) Interrupt Mask 
4  S4_IMR  IR2(S4_INT) Interrupt Mask 
3  S3_IMR  IR2(S3_INT) Interrupt Mask 
2  S2_IMR  IR2(S2_INT) Interrupt Mask 
1  S1_IMR  IR2(S1_INT) Interrupt Mask 
0  S0_IMR  IR2(S0_INT) Interrupt Mask 
RTR (Retry Time-value Register) [R/W] [0x0017 – 0x0018] [0x07D0] 
It  configures  the  retransmission  timeout-period.  The  standard  unit  of  RTR  is  100us.  RTR  is 
initialized with 2000(0x07D0) and has 200ms timeout-period. 
Ex) When timeout-period is set as 400ms, RTR = (400ms / 1ms) X 10 = 4000(0x0FA0) 
0x0017  0x0018 
0x0F  0xA0 
Re-transmission will occur if there is no response from the remote peer to the commands of 
CONNECT, DISCON, CLOSE, SEND, SEND_MAC and SEND_KEEP, or the response is delayed.   
RCR (Retry Count Register) [R/W] [0x0019] [0x08] 
It  configures  the  number  of  retransmission  times.  When  retransmission  occurs  as  many  as 
‘RCR+1’ times, Timeout interrupt is set (‘TIMEOUT’ bit of Sn_IR is set as ‘1’). 
In  case  of  using  TCP  communication,  the  value  of  Sn_SR  (Socket  n  Status  Register)  is 
changed to ‘SOCK_CLOSED’ and Sn_IR(Socket n Status Register) (TIMEOUT) turns into ‘1’. 
In case of not using TCP communication, only Sn_IR(TIMEOUT) turns into ‘1’. 
Ex) RCR = 0x0007 
0x0019 
0x07 










