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

📄 net_bsp.h

📁 从Luminary官方网站下载的LM3S6000系列的UCos+Tcp/IP的源码, 经本人稍微修改后可直接在IAR6.2下编译通过,里面包括了LM3S6000系列的所有外设UART, PWn....
💻 H
字号:
/*
*********************************************************************************************************
*                                              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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -