port.h

来自「基于LF2407A和ADS8364的采集系统」· C头文件 代码 · 共 23 行

H
23
字号
/*define the adress of ADS8364*/

ioport  int     port8000;
#define CHA0    port8000       /*adress of CHA0 of ADS8364 is 0x8000*/
ioport  int     port8001;
#define CHA1    port8001       /*adress of CHA1 of ADS8364 is 0x8001*/
ioport  int     port8002;
#define CHB0    port8002       /*adress of CHB0 of ADS8364 is 0x8002*/
ioport  int     port8003;
#define CHB1    port8003       /*adress of CHB1 of ADS8364 is 0x8003*/
ioport  int     port8004;
#define CHC0    port8004       /*adress of CHC0 of ADS8364 is 0x8004*/
ioport  int     port8005;
#define CHC1    port8005       /*adress of CHC1 of ADS8364 is 0x8005*/
ioport  int     port8006;
#define CYCLE   port8006       /*CYCLE mode of ADS8364*/
ioport  int     port8007;
#define FIFO    port8007       /*FIFO  mode of ADS8364*/
 
/*define the adress of LCD*/
#define LCDDATA 0x1000
#define LCDCOMMAND 0x1001

⌨️ 快捷键说明

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