?? main.h
字號:
#ifndef _INCLUDES_H
#define _INCLUDES_H
#include <REG52.H>
//#include <REGX52.H>
//#define LCD //若使用LCD,請加上這語句
#include "struct.h"
#include "ethernet.h"
#include "udp.h"
#include "enc28j60.h"
#include "ip.h"
#include "arp.h"
#include "icmp.h"
//#include "tcp.h"
//#include "lcd.h"
#define LOW(uint) (uint&0xFF)
#define HIGH(uint) ((uint>>8)&0xFF)
#define MAX_RXTX_BUFFER 120 //1518
void initUart(void);
void server_process ( void );
//void client_process ( void );
//查詢方式發送單個字符
void send(unsigned d1);
//中斷實始化
void IntInit(void);
void delay_ms(int t1);
void delay_us(int t1);
extern void memcpy( BYTE * dest,BYTE * source, WORD len );
//#include "tcp.c"
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -