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

📄 vmedefinitions.h

📁 在嵌入式系统中对Lattice CPLD软件升级时所需的VME文件生成所需源代码。基于E2PROM存储
💻 H
字号:

#define    INPORT       0x379 /*Address of PC parallel input port 1*/
#define    OUTPORT      0x378 /*Address of PC parallel output port 1*/
#define    pinTDI       1    /*OutPort bit address of TDI signal*/
#define    pinTCK       2    /*OutPort bit address of TCK signal*/
#define    pinTMS       4    /*OutPort bit address of TMS signal*/
#define    pinENABLE    8    /*OutPort bit address of Chip Enable*/
#define    pinTRST      16   /*OutPort bit address of TRST signal*/
#define    pinCE        32   /*OutPort bit address of Buffer Chip Enable*/
#define    pinTDO       64   /*InPort bit address of SDO signal*/
#define    OUT_SENSE_CABLE_OUT        64    /* dO6 = pin 8  */
#define    IN_VCC_OK				   8    /* dI3 = pin 15 */
#define    IN_CABLE_V2_SENSE_IN       16	/* dI4 = pin 13 */
#define    IN_CABLE_SENSE_IN		  32    /* dI5 = pin 12 */

#define CABLE_NOT_DETECT                 -5
#define POWER_OFF                        -6
#define NT_DRIVER_FAIL                   -56
#define ERROR_OS						 -57
#define CANNOT_FIND_DRIVER               -58

⌨️ 快捷键说明

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