?? vardef.c
字號:
#include "Include.h"
#include "pro_key.h"
unsigned short PortCdata, PortDdata,PortEdata,PortFdata;
//最新由鍵盤中斷產生的實際按鍵值,
unsigned char G_Key;
//當前焦點值,和G_FormNow組合確定目前光標地點
unsigned char G_Focus;
//舊焦點值,用于恢復
unsigned char G_FocusOld;
//當前編輯狀態 0: 非編輯狀態 1: 數字編輯狀態 2:非數字編輯狀態
unsigned char G_EditStatus;
//是否有按鍵發生 0 無按鍵 1 有按鍵,每次開始處理后清空
unsigned char G_KeyPress;
//當前窗口值,共有4個窗口的:0x01,0x02,0x03,0x04
unsigned char G_FormNow;
//當前通道:預留,目前都是0x00
//現場參數
__packed struct device_context *G_Device_Context;
//SCAN記錄
struct Scan G_Scan;
//數字編輯的數據緩沖區
struct NumIpBuf G_NumInputBuf;
//非數字編輯狀態下步進
int G_Step;
__packed struct channel_para channel;
__packed struct lockout_freq lockoutfreq;
U8 G_RUN_STATUS; //運行標志位
U8 WheelChange;
U32 WheelSpeed;
U8 ReadyToScan; //準備開始掃描
U8 AFCRefresh;
U8 ReturnFreq; //掃描時是否返回頻率或者電平值
int Issignal; //有信號標志位,DSP中斷中置1,僅在掃描時使用
U8 CountIssignal;
U16 preWheelValue, nowWheelValue;
__packed struct rf_param *rfpara; //RF配置模塊
U8 RstDsp;
cmdbuffer cbf;
struct LockOutInfo *pLockInfo;
U16 PS[100][2];
U8 dBTable[50][2];
U8 PS_pointer,dbTable_pointer; //兩個表的寫入指針
U8 presel[1000];
U8 timer2flag=0;
U32 Count1ms;
U32 CountScr;
U8 ScrOFFMODE;
U8 CountRstDsp;
const U16 IFBW_DATA[]={2,5,10,32,50,64,80,100,150,200,300,350,500,600,1000,1500,2000,2500,3000,5000,7500,10000};
const U16 ScanStep_DATA[]={1,2,5,16,25,32,40,50,75,100,150,175,250,300,500,750,1000,1250,1500,2500,3750,5000};
const U32 RS232_BAUD[]={1200,2400,4800,9600,19200,38400,57600,115200};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -