global.c
来自「dsp tmslf2407a 汇编,c的原代码,包括i2c,scitimer,f」· C语言 代码 · 共 52 行
C
52 行
#include "global.h"
#include "typedef.h"
uchar pcdata[Len]; //pc to dsp
uchar viccdata[256]; // device to tag cache
uint cfgdata[128]; // system cache
uchar labeldata[350]; // tag data cache 35 pieces
uchar buffer[BuffLen];
uchar simdata[50]; //模拟串口数据
uchar sim_begin = 0;
uchar sim_end = 0;
uchar ISOModeSys; //系统ISO指令的执行参数
uchar ISOFlagsSys; //系统ISO指令中的flags基数
uchar ISOMode;
uchar ledVlu; //led flash
uchar status_rx = 0; //receiving state
uchar len_rx; // receiving cache,the first pcdata,pcdata[0]
uchar p_rx; //receiving pointer
uchar deviceAddr = 0; // onboard device address
/*通讯指示灯,串口有数据则闪烁*/
uchar b_com_success = 0;
uchar b_com_counter = 0;
/*运行指示灯计数器*/
uchar counterTime=0;
uchar Day,Hour,Minute,Second;//read time(buffer mode,scanner mode)
uchar bFlashError = 0;
uchar flashErrorCounter = 0;
uchar bReadyReadTag = 0;
uchar readyReadCounter = 0;
uchar bPowerUp = 0;
uchar PowerUpCounter = 0;
uchar bAlarm = 0;
uchar alarmCounter = 0;
uchar bReadTag = 0;
uchar readTagCounter = 0;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?