| 전자부품 데이터시트 검색엔진 |
|
W5100 데이터시트(PDF) 55 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5100 데이터시트(HTML) 55 Page - WIZnet Co., Ltd |
|
55 / 72 page ![]() © Copyright 2009-2011 WIZnet Co., Inc. All rights reserved. 54 /* copy left_size bytes of gSn_RX_BASE to destination_addr */ left_size = get_size – upper_size; 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+header_size */ Sn_RX_RD = Sn_RX_RD + get_size + header_size; /* set RECV command */ Sn_CR = RECV; } ◼ Send Data? / Sending Process Data transmission process 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; /* Write the value of remote_ip, remote_port to the Socket n Destination IP Address Register(Sn_DIPR), Socket n Destination Port Register(Sn_DPORT). */ Sn_DIPR = remote_ip; Sn_DPORT = remote_port; /* 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) ) { |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |