📄 public.h
字号:
/*==================PUBLIC.H====================*/
/* 时间: 2004-06-09...2004-06-10 */
/* 说明: 定义公共类型头文件,无对应源文件 */
/*==============================================*/
//类型变量列表
#ifndef _PUBLIC_H_
#define _PUBLIC_H_
#ifndef _U_CHAR_
#define _U_CHAR_
#define uchar unsigned char
#endif
#ifndef _U_INT_
#define _U_INT_
#define uint unsigned int
#endif
#ifndef _U_LONG_
#define _U_LONG_
#define ulong unsigned long
#endif
#ifndef _TRUE_
#define _TRUE_
#define true 1
#define false (!true)
#endif
#ifndef _SYS_FREQ_
#define _SYS_FREQ_
#define SYS_FREQ_MHZ (float)11.0592 //用户必须按照实际的晶振速度进行定义
#endif
#endif
// End Of PUBLIC.H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -