| 数据搜索系统,热门电子元器件搜索 |
|
AN2282 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2282 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 19 page ![]() AN2282 Firmware 9/19 2 Firmware The firmware is developed in several layers following the standard ISO/OSI model for networking from physical layer up to application layer. A firmware architecture diagram is shown below in Figure 7. Figure 7. Firmware architecture The firmware also includes a module for the configuration of the GPIO used to manage the reset signal and interrupt signal of the Ethernet Controller. 2.1 Ethernet controller driver The two lower layers (the Ethernet Device Driver layer and the STR7 Hardware Libraries and Device Interface layer) manage the CS8900A Ethernet controller and the physical access to the device. 2.1.1 Low Level Interface The emi.c is part of the STR710 library and it defines the functions for configuration of the EMI peripheral. The ethdrv.c module provides the interface function to the upper layer and is useful for low level access to the Ethernet controller when it is accessed in I/O mode: ● void outw(int address, short data); Writes a 16-bit data word to an I/O register located at a given address. ● char inb(int address); Reads a byte data from an I/O register located at a given address. ● short inw(int address); Reads a 16-bit word from an I/O register located at a given address. The module also provides the function for hardware reset of the Ethernet controller: ● void reset_NIC(void); Buffer Device Driver Modules: ethdev.c Ethernet Device Driver Modules: lan8900.c STR7 Hardware Libraries and Device Interface Modules: emi.c, ethdrv.c Application Layer TCP/IP Layers Modules: uip.c, uip_arp.c |
|
|
链接网址 |
| 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 |