⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 net_nic_def.h

📁 Micrium专门针对AT91SAM7X256发布的网卡驱动源码
💻 H
字号:
/*
*********************************************************************************************************
*                                              uC/TCP-IP
*                                      The Embedded TCP/IP Suite
*
*                          (c) Copyright 2003-2006; Micrium, Inc.; Weston, FL
*
*               All rights reserved.  Protected by international copyright laws.
*
*               uC/TCP-IP is provided in source form for FREE evaluation, for educational
*               use or peaceful research.  If you plan on using uC/TCP-IP in a commercial
*               product you need to contact Micrium to properly license its use in your
*               product.  We provide ALL the source code for your convenience and to help
*               you experience uC/TCP-IP.  The fact that the source code is provided does
*               NOT mean that you can use it without paying a licensing fee.
*
*               Network Interface Card (NIC) port files provided, as is, for FREE and do
*               NOT require any additional licensing or licensing fee.
*
*               Knowledge of the source code may NOT be used to develop a similar product.
*
*               Please help us continue to provide the Embedded community with the finest
*               software available.  Your honesty is greatly appreciated.
*********************************************************************************************************
*/

/*
*********************************************************************************************************
*
*                                    NETWORK INTERFACE CARD DEFINES
*
*                                          AT91SAM7X256 EMAC
*
* Filename      : net_nic_def.h
* Version       : V1.87
* Programmer(s) : EHS
*********************************************************************************************************
*/

/*
*********************************************************************************************************
*                                      AT91SAM7X256 EMAC DEFINES
*
* Note(s) : (1) These global #define's are required PRIOR to network configuration.
*********************************************************************************************************
*/

#define  EMAC_CFG_MAC_ADDR_SEL_NONE                 0       /* Do not explicity select a MAC address src   */
#define  EMAC_CFG_MAC_ADDR_SEL_EEPROM               1       /* EMAC MAC addr cfg'd from NIC's ext EEPROM.  */
#define  EMAC_CFG_MAC_ADDR_SEL_CFG                  2       /* EMAC MAC addr cfg'd by prod app @ init.     */

#define  EMAC_SPD_0                                 0       /* Link speed unknown, or link down            */
#define  EMAC_SPD_10                               10       /* Link speed = 10mbps                         */
#define  EMAC_SPD_100                             100       /* Link speed = 100mbps                        */

#define  EMAC_DUPLEX_UNKNOWN                        0       /* Duplex uknown or auto-neg incomplete        */
#define  EMAC_DUPLEX_HALF                           1       /* Duplex = Half Duplex                        */
#define  EMAC_DUPLEX_FULL                           2       /* Duplex = Full Duplex                        */
	 	 			 		    	 				 	    	 	 	 		    	     	 	 	 		 	  	  	  	     	 	      	   		 	 	 	   		   			 	     			  			 		   	 			       	  	 		  	 	  	 		 		   		  	  			 	  	 		 	 	 			 	 		 		 	 		 	   		 	 	 	   		     			  			 		  	 		 	  			 	 	 	 	  		  	   		   	   	 				 		 			 			  			 		   		 		 				 		 	    		   	  		 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -