?? system.h
字號(hào):
#ifndef _SYSTEM_H
#define _SYSTEM_H
/**********************************************************
** 定義全局變量
***********************************************************/
volatile UINT8 KEY_COUNT = 0;
UINT8 idata KEY_BUFF[KEY_BUFF_SIZE] = 0x00;
UINT8 RAM_PAGE = 0x02, X_AXIS = 0x04;
UINT8 idata UART_BUFF[UART_BUFF_SIZE] = 00;
UINT8 UART_COUNT = 0x00;
UINT8 INT_NESTING = 0;
UINT16 CHECK_SIGNAL = 0;
UINT8 KEY_LOCATION = 0;
//標(biāo)志位
UINT1 STATUS_FLAG = 00;
UINT1 REC_FLAG = 0X00;
UINT1 BUFF_FULL = 0;
UINT1 CALL_FLAG = CALL_OUT;
UINT1 STATUS_OK = 0;
UINT8 JUDGE_OK = 0;
UINT1 CHECK_SIGNAL_FLAG = 0;
UINT1 JUDGE_ERROR = 0;
UINT1 ATVTS_FLAG = 0;
UINT1 BUSY_FLAG = 0;
UINT1 TALK_FLAG = 0;
UINT8 ret = 0;
/*********************************************************
AT COMMAND
*********************************************************/
UINT8 code at[] = "at";
UINT8 code atf[] = "at&f0"; //AT&F0<CR>
UINT8 code atd[] = "atd";
UINT8 code numLib[] = "0123456789*#";
UINT8 code ath[] = "ath"; //ATH
UINT8 code snfs[] = "at^snfs=2";
UINT8 code saic[] = "at^saic=2,2,2";
UINT8 code ata[] = "ata";
UINT8 code ring[] = "RING";
UINT8 code clcc[] = "at+clcc";
UINT8 code atv[] = "at&v";
UINT8 code cmer[] = "at+cmer=2,0,0,2";
UINT8 code ok[] = "OK";
UINT8 code signal[] = "signal";
UINT8 code clccFlag[] ="CLCC";
UINT8 code sounder[] ="sounder,";
UINT8 code NOCARRIR[] = "NO";
UINT8 code atcsq[] = "at+csq";
UINT8 code sysstart[] ="SYSSTART";
UINT8 code atscks[] = "at^scks?";
UINT8 code scks[] = "SCKS";
UINT8 code call0[] = "call,";
// UINT8 code call1[] = "call,1";
UINT8 code ERR[] = "ERROR";
UINT8 code vts[] = "at+vts=";
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -