vmedefinitions.h
来自「在嵌入式系统中对Lattice CPLD软件升级时所需的VME文件生成所需源代码」· C头文件 代码 · 共 20 行
H
20 行
#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 + =
减小字号Ctrl + -
显示快捷键?