| 数据搜索系统,热门电子元器件搜索 |
|
UM0248 数据表(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0248 数据表(HTML) 23 Page - STMicroelectronics |
|
23 / 26 page ![]() UM0248 Webserver demo with uIP TCP/IP stack 23/26 3 Webserver demo with uIP TCP/IP stack 3.1 uIP overview uIP is a free TCP-IP stack designed originally for 8-bit/16-bit microcontrollers, it needs only a few kilobytes of RAM and less than 100 Kbytes for code. The uIP stack provides support for several applications like web server and client applica- tions, ICMP , telnet,... For more details about the uIP stack please refer to: www.sics.se/~adam/uip/ 3.2 ENET driver interfacing with the uIP stack The webserver demo in the uIP stack is based on a main loop as shown in Figure 3. Figure 3. uIP main loop In order to interface with the uIP stack, you just need to provide driver functions to receive and send IP packets. The driver functions used here are: ● ENET_HandleTxPkt : sends an IP packet. ● ENET_HandleRxPkt: checks for a received packet and copies it to the stack buffer. For implementation details please refer to uIP stack file: uIPMain.c file Check for timeout Check for packet Process packet Application Output packets Output packets Application AProcess timeout ENET_HandleTxPkt ENET_HandleRxPkt |
|
|
链接网址 |
| 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 |