data.h

来自「一个分选系统的软件:用SmallRtos操作系统」· C头文件 代码 · 共 35 行

H
35
字号
/*********************************************************************************************************
**--------------文件信息--------------------------------------------------------------------------------
**文   件   名: data.h
**创   建   人: 刘宝贵
**最后修改日期: 2004年4月16日
**描        述: 本项目所有全司变量
**
*********************************************************************************************************/

#define PARAMETER_MAX    14000
#define PARAMETER_MIN    6000
#define CellParaIICBase        0x0400     //0x0400~~0x05FF

#define CurrentWorkStepIICBase 0x0010     //
#define SecondIICBase          0x0012     //0x0012~~0x0013
#define Cell_CIICBase          0x0020     //0x0020~~0x007F  96字节
#define Cell_TIICBase          0x0080     //0x0080~~0x00AF  48字节
#define Cell_SIICBase          0x00B0     //0x00B0~~0x00CF  24字节

#define WorkStepIICBase        0x0100     //0x0100~~0x017F  128字节
#define SumWorkStepIICBase     0x0180     //0x0180~~0x0181  2
#define ReferenceUIICBase      0x0182     //0x0182~~0x03F2  624

sbit RUNLED = P3^3;
sbit EN_485 = P3^2;
sbit CON4053 = P3^3; 
extern uint16 xdata Second;
extern uint8 xdata Address;
extern uint8 xdata CommCounter;
extern uint16 xdata Cellu[108];




⌨️ 快捷键说明

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