📄 stackcfg.h
字号:
/******************************************************************************************
Stackcfg.h (v1.0)
-------------------------------------------------------------------------------------
This code is from the book:
"Embedded Internet: TCP/IP Basics, Implementation and Applications" by Sergio Scaglia
[Pearson Education, 2006 - ISBN: 0-32-130638-4]
This code is copyright (c) 2006 by Sergio Scaglia, and it may only be used for educational
purposes. For commercial use, please contact me at sscaglia@intramarket.com.ar
For more information and updates, please visit www.embeddedinternet.org
******************************************************************************************/
#ifndef __stackcfg_H
#define __stachcfg_H
#ifdef ETHERNET
#define MyMACAddress {0x00, 0x08, 0x54, 0x18, 0x5D, 0x50}
#define GatewayAddress {192, 168, 0, 1}
#define SubNetMaskAddress {255, 255, 255, 0}
#define MyIPAddress {192, 168, 0, 30}
#define pcIP {192, 168, 0, 3}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -