| Electronic Components Datasheet Search |
|
W5300 Datasheet(PDF) 99 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5300 Datasheet(HTML) 99 Page - WIZnet Co., Ltd |
|
99 / 128 page ![]() © Copyright 2008-2014 WIZnet Co.,Ltd. All rights reserved. 99 for (i = 0; i < write_cnt; i++) { Sn_TX_FIFOR = data_buf[i]; /* data_buf is array of 16bit */ } /* check previous SEND command completion */ if (is first send ?) ; /* skip check Sn_IR(SENDOK) */ else { while(Sn_IR(SENDOK)= =‘0’) { if(Sn_SSR == SOCK_CLOSED) goto CLOSED state; /* check connection establishment */ } Sn_IR(SENDOK) = ‘1’; /* clear previous interrupt of SEND completion */ } /* sets transmission data size to Sn_TX_WRSR */ Sn_TX_WRSR = send_size; /* set SEND command */ Sn_CR = SEND; } ESTABLISHED : Received FIN? It checks if disconnect-request(FIN packet) is received or not. It can be checked as below. First method : { i f (Sn_IR(DISCON) == ‘1’) Sn_IR(DISCON)=‘1’; goto CLOSED stage; /* In this case, if the interrupt of SOCKETn is activated, interrupt occurs. Refer to IR, IMR Sn_IMR and Sn_IR. */ } Second method : { if (Sn_SSR == SOCK_CLOSE_WAIT) goto CLOSED stage; } |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |