-
Notifications
You must be signed in to change notification settings - Fork 0
/
405_ClimDef.c
69 lines (65 loc) · 1.45 KB
/
405_ClimDef.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* Íàçíà÷åíèå áèòîâ ðåãèñòðà íîâîñòåé - GD.SostPol.News */
#define SumTeplZones GD.Control.ConfSTepl
#define bOperator 0x01
#define bEdit 0x02
#define bKlTest 0x04
#define bReset 0x20
#define bResRam 0x08
//#define bResEEP0 0x10
//#define bResEEP1 0x20
//#define bResEEP2 0x40
//#define bWriEEP 0x80
// äëÿ êëèìàòà
//#define bReseting 0x04
#define bInClock 0x80
uchar vNFCtr;
uint16_t PORTNUM;
uchar Y_menu,Y_menu2,x_menu;
uchar Ad_Buf=0;
uchar AdinB=0;
uchar xdata Form=0;
uchar SizeForm=0;
uchar Mark=0;
uchar SIM;
//uchar buf[90];
void *AdrVal;
uchar TecChan;
bit ReadyIZ;
bit FalseIZ;
bit BITKL;
bit Menu;
bit B_video;
bit B_input;
bit EndInput;
bit BlkW;
unsigned char Second;
//volatile unsigned char SecondCount;
//int16_t Mes;
int16_t MesINT0;
long LngX,LngY;
uchar NDat;
uchar NumIzm;
int16_t IntX,IntY,IntZ;
int16_t SaveInt;
int16_t SaveInt2;
int8_t SaveChar;
int8_t nPortSave;
int8_t TimeReset;
int8_t bWaterReset[16];
uchar ByteW,ByteY,ByteX,ByteZ;
uchar nReset;
uchar NumBlock;
uchar not=230,ton=3,ton_t=15;
uchar bNight;
uchar ProgReset;
//uint OutR;
uchar RegLEV;
eAdrGD AdrGD[15];
code uchar Mon[]={31,28,31,30,31,30,31,31,30,31,30,31};
uchar SendByte1W;
uchar Buf1W[10];
uchar* pBuf;
int8_t ToHiTime;
int8_t ToLowTime;
char fLightOn;
int16_t fLightPause;