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

📄 net_cfg.h

📁 ADC图形图像例子
💻 H
字号:

/********************************************************************
 * File: NET_CFG.h
 * 
 * Copyright: Peak Microtech Corporation
 *
 *******************************************************************/

#ifndef _NETCFG_H
#define _NETCFG_H

#define   	COM_RXD_BUFF_SIZE   600 
#define		COM_TXD_BUFF_SIZE   600 
#define 	COMMAND_BUFF_SIZE   600
#define    	RT_BUFF_NUM 1           
#define 	TCP_MAX_RETXD   8 

#include "Ne2000.h"
#include "arp.h"
#include "GLOBAL.h"
#include "ICMP.h"
#include "INPUT.h"
#include "TCP.h"
#include "UDP.h"
#include "register.h"
#include "io.h"
#include "int.h"
#include "uart.h"

#include <stdarg.h> 
#include <stdio.h>


#define MY_MAC_ID 		{0x00,0x14,0x2A,0x6D,0x17,0x95}
#define IP_SETTING 		IP_Str2Hex("192.168.1.78") -> dwords;
#define GATEWAY_SETTING IP_Str2Hex("192.168.1.1") -> dwords;

#define IP_MARK_SETTING 0x00ffffff; 		//255.255.255.0
#define MY_TCP_PORT    	1024
#define MY_UDP_PORT  	1025


#endif	/* _NETCFG_H */

⌨️ 快捷键说明

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