📄 pc7484b.def
字号:
;;;;;;;;;;;;;;;;;;;;;;;;
;pc7484b.def
;
;The DEF file for the pc7484b.DLL
;
LIBRARY pc7484bdll
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD SINGLE
EXPORTS
;The names of the DLL functions
;
pc7484_jsset @1
;pc7484_jsset()为设置计数器函数
;*sd为三个计数器的设置参数
;Port为板口基地址
;Delay 为I/O操作延时
;void __stdcall pc7484_jsset(unsigned char *sd,unsigned short Port,long Delay);
;
pc7484_js @2
;pc7484_js()为计数器计数函数
;*jsd为三个计数器的计数值
;Port为板口基地址
;Delay 为I/O操作延时
;void pc7484_js(int *jsd,unsigned short Port,long Delay);
pc7484_do @3
;pc7484_do()为DO输出函数
;*DoData为16路DO输出值
;Port为板口基地址
;void pc7484_do(unsigned char *DoData,unsigned short Port,long Delay);
pc7484_di @4
;pc7484_di()为DI输入函数
;*DiData为24路DI输入值
;Port为板口基地址
;void pc7484_di(unsigned char *DiData,unsigned short Port,long Delay);
pc7484_ad @5
;pc7484_ad()为AD采集函数
;ChannelNo为采集通道号
;Port为板口基地址
;Delay 为I/O操作延时
;返回为通道ChannelNo采集的数据
;int pc7484_ad(int ChannelNo,unsigned short Port,long Delay);
pc7484_da @6
;pc7484_da()为DA输出函数
;ChannelNo为DA输出通道号
;DaData为DA输出数值
;Port为板口基地址
;Delay 为I/O操作延时
;void pc7484_da(int ChannelNo,int DaData,unsigned short Port,long Delay);
pc7484_ts @7
;ts()测试DLL存在,仅供发声
;void pc7484_ts(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -