| Electronic Components Datasheet Search |
|
W5100 Datasheet(PDF) 53 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5100 Datasheet(HTML) 53 Page - WIZnet Co., Ltd |
|
53 / 72 page ![]() © Copyright 2009-2011 WIZnet Co., Inc. All rights reserved. 52 ◼ Received DATA? It can be checked as below if data is received from remote peer. First method : { if (Sn_RX_RSR != 0x0000) goto Receiving Process stage; } Second Method : { If (Sn_IR(RECV bit) == ‘1’) goto Receiving Process stage; /* In this case, if the interrupt of Socket n is activated, interrupt occurs. Refer to Interrupt Register(IR), Interrupt Mask Register (IMR) and Socket n Interrupt Register (Sn_IR). */ } ◼ Receiving Process Received data can be processed as below. In case of UDP, 8byte header is attached to receiving data. The structure of the header is as below. { /* first, get the received size */ get_size = Sn_RX_RSR; /* calculate offset address */ get_offset = Sn_RX_RD & gSn_RX_MASK; /* calculate start address(physical address) */ get_start_address = gSn_RX_BASE + get_offset; /* read head information (8 bytes) */ header_size = 8; |
|
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 |