📄 ext_var.bak
字号:
#pragma sfr
#pragma di
#pragma ei
#pragma nop
#pragma asm
#define uchar unsigned char
#define ushort unsigned short
#define uint unsigned int
#define ulong unsigned long
#define TRUE (0x0) /* Normal end */
#define NMLBLK (0x1) /* Normal end (Block error) */
#define ERRFULL (0xF5) /* Data full */
#define ERRWRITE (0xF6) /* Data write error */
#define ERRNODAT (0xF7) /* With no read-out data */
#define ERRNOBLA (0xF8) /* With no eraseed block */
#define ERRNOERS (0xF9) /* With no erasable block */
#define ERRNOUSE (0xFA) /* With no effective block */
#define ERRALL (0xFB) /* Prohibition of all block use */
#define ERRBLK (0xFC) /* Block error */
#define ERRDEV (0xFD) /* Device error */
#define ERRINIT (0xFE) /* Initialization error */
#define FALSE (0xFF) /* Abnormal end */
#define PM_OUT 0
#define PM_IN 1
#define BYTE128 100//128
#define BYTES1024 1024
//#define CMD_LEN 80
#define RESPONE_LEN 20
#define PARA_LEN 92
#define OUT_LEN 284
#define INBUF_LEN 50
#define PHONE_LEN 16
#define IP_LEN 4
#define ID_LEN 16
#define PORT_LEN 4
#define DOMAIN_LEN 32
#define PORT1_LEN 4
#define WTD_LEN 4
#define HBTIME_LEN 4
#define HBSTR_LEN 16
#define HBFLAG_LEN 4
#define DISFLAG_LEN 4
//address alocation
#define PARA_ADR 0
#define ID_ADR PARA_ADR
#define IP_ADR ID_ADR + ID_LEN
#define PORT_ADR IP_ADR + IP_LEN
#define DOMAIN_ADR PORT_ADR + PORT_LEN
#define PORT1_ADR DOMAIN_ADR + DOMAIN_LEN
#define WTD_ADR PORT1_ADR + PORT1_LEN
#define HBTIME_ADR WTD_ADR + WTD_LEN
#define HBSTR_ADR HBTIME_ADR + HBTIME_LEN
#define HBFLAG_ADR HBSTR_ADR+ HBSTR_LEN
#define DISFLAG_ADR HBFLAG_ADR+ HBFLAG_LEN
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -