| 数据搜索系统,热门电子元器件搜索 |
|
W5100S 数据表(PDF) 68 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5100S 数据表(HTML) 68 Page - WIZnet Co., Ltd |
|
68 / 110 page ![]() 68 / 110 W5100S Datasheet Version1.2.5 START : /* set UDP Mode */ Sn_MR[3:0] = ‘0010’; /* set Source PORT Number, 5000(0x1388) */ Sn_PORTR[0:1] = {0x13, 0x88}; /* set SOCKET Option such as Broadcast Block. */ // refer to 3.2.23 Sn_MR2 (SOCKET n Mode register 2) // Sn_MR2[BRDB] = ‘1’; /* set OPEN Command */ Sn_CR = OPEN; while(Sn_CR != 0x00); /* wait until OPEN Command is cleared*/ /* check SOCKET for UDP Mode */ if(Sn_SR != SOCK_UDP) goto START; } Received DATA? Refer to 4.3.1 TCP Server : Received DATA? Receiving Process UDP Mode SOCKET can receive Data Packets from more than one Peer. The received Data Packet is stored in SOCKET n RX Buffer Block with “PACKET INFO” as shown in Figure 9. If the received Data is bigger than SOCKET n RX Buffer Free Size, it is discarded. (Ref 4.3.1 TCP Server : Receiving Process) Figure 9 Received UDP DATA in SOCKETn RX Buffer Block { /* receive PACKINFO */ |
|
链接网址 |
| 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 |