📄 net_nic_def.h
字号:
/*
*********************************************************************************************************
* uC/TCP-IP
* The Embedded TCP/IP Stack
*
* (c) Copyright 2003-2005; Micrium, Inc.; Weston, FL
*
* All rights reserved. Protected by international copyright laws.
* Knowledge of the source code may not be used to write a similar
* product. This file may only be used in accordance with a license
* and should not be redistributed in any way.
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* NETWORK INTERFACE CARD
* Davicom DM9000
*
* Filename : net_nic_def.h
* Version : V1.00
* Programmer(s) : EHS
*********************************************************************************************************
*/
#ifndef __NET_NIC_DEF_H__
#define __NET_NIC_DEF_H__
/*
*********************************************************************************************************
* DEFINITIONS
*
* 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 */
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -