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

📄 gbl_var.cpp

📁 基于USB接口的GPS应用程序
💻 CPP
字号:
/******************************************************************/
/* Fiel description:                                              */
/*     To define some global variables for system                 */
/*     BCB does not only require definition of gbl vars in header file, */
/*     but also require implementation of gbl vars in cpp file .  */
/* Author:                                                        */
/*        Yu Lu                                                   */
/*        luyu1974@gmail.com                                      */ 
/******************************************************************/

#include "gbl_var.h"

HANDLE newdataEvent;
HANDLE gpsEvent;
HANDLE dispEvent;

CRITICAL_SECTION GpsCriticalSection;

int GpsWeek;
navmsg allch_navmsg[CH_NUM];
navresult_channel  allch_navresult[CH_NUM];
allch_transtime  allchtrtime;
bool newmsg_rdy;
bool eph_valid[33]; 

const char* STATE_MSG[] = {"Acquisition",
                           "Confirm",
                           "PullIn",
                           "Tracking",
                           NULL
                           };
                           
const char* GPS_NAV_MSG[] = {" Initialize finished successfully!",
                       " Fail to open debug file ! ",
                       NULL
                      };

const char* IOINTERFACE_MSG[] = {" Initialize finished successfully !",
                           " Fail to open debug file !",
                           NULL
                          };

⌨️ 快捷键说明

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