globalvar.h
来自「Demo HZ256 Cluster LCD2 CW31 SH v1 ICD」· C头文件 代码 · 共 30 行
H
30 行
#ifndef _GLOBAL_DECL_
#define _GLOBAL_DECL_ extern
#endif
/* PORTS section */
_GLOBAL_DECL_ char SecData,MinData,HourData,Timems,IndTimes;
_GLOBAL_DECL_ char MenuPage,LifeDispFlag,PowerFlag,LCDTestFlag;
_GLOBAL_DECL_ char KeyPreState,ClockFlag;
_GLOBAL_DECL_ unsigned long MotorSpeed[4];
_GLOBAL_DECL_ unsigned int MotorHBSpeed[4],MotorHBSpeedFlag[4],MotorDemoStep[4],MotorDemoStep1[4];
_GLOBAL_DECL_ unsigned int MotorFinalStep[4],MotorCurStep[4];
_GLOBAL_DECL_ unsigned int MotorMaxStep[4],MotorMinStep[4];
_GLOBAL_DECL_ unsigned int MotorStep;
_GLOBAL_DECL_ int MotorSpeedIndex[4],MaxSpeedIndex[4];
_GLOBAL_DECL_ char MotorMoveStatus[4];
_GLOBAL_DECL_ char motor_flag[4],MotorStatus[4],MotorDemoFlag;
_GLOBAL_DECL_ char MotorTest,DemoStep,MTRDR[4];
_GLOBAL_DECL_ unsigned long Mileage,Mileage_lmm;
_GLOBAL_DECL_ unsigned int OverFlowCnt,Mileage_mm;
_GLOBAL_DECL_ unsigned char MotorMode[4],MotorInput[4];
_GLOBAL_DECL_ unsigned long Time8ms,KeyDelayTime,LifeDispTime,LCDTestTime,LCDTimerCnt,LCDTimerFlag;
_GLOBAL_DECL_ unsigned long LCDPreTime,LCDRotTime,LCDBlinkTime;
_GLOBAL_DECL_ unsigned char LCDBlink,LCDStatus,LCDLen;
_GLOBAL_DECL_ unsigned char LCDCirBuf[41],LCDMoveBuf[9];
_GLOBAL_DECL_ unsigned int LCDMileage,LifeDispFlagCnt,LCDDispCnt;
_GLOBAL_DECL_ unsigned int DemoIndex[4],DemoIndex1[4];
_GLOBAL_DECL_ unsigned int speed0,speed1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?