portdefine.h

来自「个人根据海德汉平面光栅Windows下的程序编写得Linux下的驱动程去源码」· C头文件 代码 · 共 49 行

H
49 行
字号
#ifndef __PCIDEFINE_H__#define __PCIDEFINE_H__#define CMDPORT		0#define DATPORT0	0#define DATPORT1	1#define DATPORT2	2#define DATPORT3	3#define DATPORT4	4#define DATPORT5	5#define DATPORT6	6#define DATPORT7	7#define DATPORT8	8#define DATPORT9	9#define STAPORT		10#define SETFLAG0REG	11#define CLRFLAG1REG	11#define CONTROLREG	12#define STATUSREG	12#define FLAG1REG	14#define G28PORT0	0#define G28PORT1	1#define RUNMODE		0x0000#define BOOTMODE	0x0001#define PIPEEMPTY	0x0002#define WRITERAMMODE	0x0004#define CMDRESET	0x0101#define CMDSTART	0x0102#define CMDSTOP		0x0103#define CMDLATCH0	0x0105#define CMDGETCNT0	0x0301#define CMDWRITEPAR	0x0501#define CONFREG_CNTRL	(0x50>>2)#define G28SEM10	0x0400#endif

⌨️ 快捷键说明

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