| Electronic Components Datasheet Search |
|
W5100 Datasheet(PDF) 56 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5100 Datasheet(HTML) 56 Page - WIZnet Co., Ltd |
|
56 / 72 page ![]() © Copyright 2009-2011 WIZnet Co., Inc. All rights reserved. 55 /* 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; memcpy(source_addr, gSn_TX_BASE, left_size); } else { /* copy send_size bytes of source_addr to get_start_address */ memcpy(source_addr, get_start_address, send_size); } /* increase Sn_TX_WR as length of send_size */ Sn_TX_WR += send_size; /* set SEND command */ Sn_CR = SEND; } ◼ Complete Sending? The sending completion should be checked after SEND command. { If (Sn_CR == 0x00) transmission is completed. } ◼ Timeout Timeout occurs if remote peer does not exist or data transmission is not normally processed. It can be checked as below. { If (Sn_IR(TIMEOUT bit) == ‘1’) goto next 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). */ } |
|
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 |