⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ext_var.h

📁 TC35i收发短信的源代码
💻 H
字号:
#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 BYTE140		140
#define BYTES1024	1024


#define RESPONE_LEN	10
#define BUF_LEN		420
#define PHONE_LEN	16
#define SM_PARA_LEN	9
#define PARA_LEN	12


#define BAUD_LEN	4
#define DEBUG_LEN	4
#define MODE_LEN	4

//address alocation
#define PARA_ADR 	0
#define BAUD_ADR	PARA_ADR
#define DEBUG_ADR	BAUD_ADR+BAUD_LEN
#define MODE_ADR	DEBUG_ADR+DEBUG_LEN

⌨️ 快捷键说明

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