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

📄 cfg_net.h

📁 在ucos-ii下用LPC2290的spi端口驱动M65的液晶屏
💻 H
字号:
/****************************************Copyright (c)**************************************************
**                               Guangzou ZLG-MCU Development Co.,LTD.
**                                      graduate school
**                                 http://www.zlgmcu.com
**
**--------------File Info-------------------------------------------------------------------------------
** File name:			cfg_net.h
** Last modified Date:	2004-11-25
** Last Version:		1.0
** Descriptions:		configration file of the ZLGIP tcpip stacks
**------------------------------------------------------------------------------------------------------
** Created by:			Yehaoben
** Created date:		2004-11-25
** Version:				1.0
** Descriptions:		The original version
**
**------------------------------------------------------------------------------------------------------
** Modified by: 
** Modified date:
** Version:	
** Descriptions: 
**
********************************************************************************************************/
/*
*********************************************************************************************************
*                                         ZLGIP CONFIGURATION
*********************************************************************************************************
*/
/*****  ethernet  ******/
#define MAX_NET_PORT	1		/* MAXIM OF THE NETWORK INTERFACE  ( == 1 ) */
#define MAX_NET_REC_LEN	1536	/* MAX SIZE OF THE NETWORK FRAME LENGTH . ( <= 1536 ) */
#define MAX_REC_BUFF 	4		/* How many frames that the recive buffer can save. ( >= 2 ) */

/*******  arp  **********/
#define MAX_ARP_TERM	30		/* How many MAC address can be save . it define in think about the network */

/*******  udp  **********/
#define UdpMaxDataLen 	1478    /* Max udp data length in one frame. Less then MAX_NET_REC_LEN and ( <= 1478 ) */
#define UdpMaxRec		3 		/* How many UDP frames can be saved. Less then MAX_REC_BUFF and ( >= 1 ) */
#define MAX_UDP_LINKS	5 		/* How many UDP socket can be created. ( >= 1 ) */

/*******  tcp  **********/
#define	MAX_TCP_DATA	1460	/* Max tcp data length in one frame. Less then MAX_NET_REC_LEN and ( <= 1460 ) */
#define MAX_TCP_LINKS   5		/* How many tcp links can be connected. ( >= 1 ) */
#define	MY_TCP_WIN		2048	/* Tcp connection recive data buffer size ( 1 <= MY_TCP_WIN  <= 65535 ) */
/************************/

#define MAC_FORM_EEPROM		0	/* if get mac address form iic eeprom ,the value must be 1*/

#define Little_End				/* CPU working mode */

/*********************************************************************************************************
**                            End Of File
********************************************************************************************************/

⌨️ 快捷键说明

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