net_bsp.h
来自「ucos_ii/tcpip to lm3s6965」· C头文件 代码 · 共 98 行
H
98 行
/*
*********************************************************************************************************
* uC/TCP-IP
* The Embedded TCP/IP Stack
*
* (c) Copyright 2004; 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.
*********************************************************************************************************
*
* BOARD SUPPORT PACKAGE (BSP) FUNCTIONS
*
* Luminary Micro LM3S6965
* with the
* Luminary Micro LM3S6965 ENET Development Kit
*
* Filename : net_bsp.c
* Programmer : Brian Nagel
* Version : 1.0
* Date : 04/05/2007
*********************************************************************************************************
*/
#ifndef __NET_BSP_H__
#define __NET_BSP_H__
/*
*********************************************************************************************************
* EXTERNS
*********************************************************************************************************
*/
#ifdef NET_BSP_MODULE
#define NET_BSP_EXT
#else
#define NET_BSP_EXT extern
#endif
/*
*********************************************************************************************************
* DEFINES
*
* Note(s) : (1) The address should be configured by the user.
*********************************************************************************************************
*/
/* Configure MAC address set method : */
#define EMAC_CFG_MAC_ADDR_SEL EMAC_CFG_MAC_ADDR_SEL_CFG /* EMAC_CFG_MAC_ADDR_SEL_CFG from application */
/*
*********************************************************************************************************
* DATA TYPES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* GLOBAL VARIABLES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* MACRO'S
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* FUNCTION PROTOTYPES
*********************************************************************************************************
*/
void NetNIC_LinkUp (void);
void NetNIC_LinkDown (void);
void NetBSP_DlyMs (CPU_INT32U ms);
void NetBSP_PHY_HW_Init (void);
/*
*********************************************************************************************************
* CONFIGURATION ERRORS
*********************************************************************************************************
*/
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?