📄 pci8408.pas
字号:
unit pci8408;
interface
function ZT8408_GetLastErr():Longint;STDCALL;external 'pci8408.dll'
procedure ZT8408_ClearLastErr();STDCALL;external 'pci8408.dll'
function ZT8408_GetCardCount():Longint;STDCALL;external 'pci8408.dll'
function ZT8408_GetOpenedCardCount():Longint;STDCALL;external 'pci8408.dll'
function ZT8408_CloseAllDevice():Longint;STDCALL;external 'pci8408.dll'
procedure ZT8408_SetBaseNO(baseNO:Longint);STDCALL;external 'pci8408.dll'
function ZT8408_GetBaseNO():Longint;STDCALL;external 'pci8408.dll'
function ZT8408_OpenDevice(cardNO:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_CloseDevice(cardNO:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_GetBaseAddr(cardNO:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_GetCardStatus(cardNO:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_ReadW(cardNO:Longint; nOffset:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_WriteW(cardNO:Longint; nOffset:Longint; dataWord:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_DIBit(cardNO:Longint; chNO:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_DIAll(cardNO:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_DOBit(cardNO:Longint; chNO:Longint; nState:Longint):Longint;STDCALL;external 'pci8408.dll'
function ZT8408_DOAll(cardNO:Longint; nStateAll:Longint):Longint;STDCALL;external 'pci8408.dll'
implementation
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -