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

📄 globals.cxgate

📁 关于XD256的应用实例,用于汽车电子开发之用
💻 CXGATE
字号:
/*****************************************************
 globals.cxgate - definition of shared variables 
 -----------------------------------------------------
 These variables that are allocated in XGATE space but 
 can be refered by the HC12 too. 
               
Note: pointers defined in the shared RAM are unique to 
      the core and cannot be shared. Define in this 
      module all the variables that contain addresses 
      into the XGATE address space.
 *****************************************************/


#include "VTypes.h"
#include "Globals.h"

#pragma DATA_SEG  SHARED_DATA

/* VFD Variables */

uchar GBuffer[ScreenBuffSize];		 /* logical grafic buffer (horizontal scan lines) */
uchar ScreenBuff[ScreenBuffSize];  /* physical scsreen buffer (double vertical scan lines) */
uchar GridData[8];
VFDDataType VFData = {(uchar*)ScreenBuff, (uchar*)GridData, 0, 7, 16, 8, 0, 0};

STDataType STData;

/* GDIC Variables */

GDICDataType GDICData;

/* Switch/LED data */

SwLEDDataType SwLEDData;

/* CAN Variables */

uint  CANMsgID;
uchar CANDataLen;
uchar CANMsgData[8];

/* latency measurement */
uint newTime, oldTime, maxDt;	 


⌨️ 快捷键说明

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