| Electronic Components Datasheet Search |
|
W5100 Datasheet(PDF) 46 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5100 Datasheet(HTML) 46 Page - WIZnet Co., Ltd |
|
46 / 72 page ![]() © Copyright 2009-2011 WIZnet Co., Inc. All rights reserved. 45 memcpy(gSn_RX_BASE, destination_addr, left_size); } else { /* copy get_size bytes of get_start_address to destination_addr */ memcpy(get_start_address, destination_addr, get_size); } /* increase Sn_RX_RD as length of get_size */ Sn_RX_RD += get_size; /* set RECV command */ Sn_CR = RECV; } ◼ ESTABLISHED : Send DATA ? / Sending Process The sending procedure is as below. { /* first, get the free TX memory size */ FREESIZE: get_free_size = Sn_TX_FSR; if (get_free_size < send_size) goto FREESIZE; /* calculate offset address */ get_offset = Sn_TX_WR & gSn_TX_MASK; /* calculate start address(physical address) */ get_start_address = gSn_TX_BASE + get_offset; /* if overflow socket TX memory */ if ( (get_offset + send_size) > (gSn_TX_MASK + 1) ) { /* copy upper_size bytes of source_addr to get_start_address */ upper_size = (gSn_TX_MASK + 1) – get_offset; memcpy(source_addr, get_start_address, upper_size); /* update source_addr*/ source_addr += upper_size; /* copy left_size bytes of source_addr to gSn_TX_BASE */ left_size = send_size – upper_size; |
|
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 |