Pci_floatsub2, 3 pci_f, Loat – ICP DAS USA PCI-P16C16 User Manual

Page 35: 3 pci_floatsub2

Advertising
background image


EXPORTS WORD CALLBACK PCI_GetConfigAddressSpace
(WORD wBoardNo, WORD *TypeID,
WORD *wAddress0, WORD *wAddress1, WORD *wAddress2,

WORD *wAddress3, WORD *wAddress4, WORD *wAddress5);


EXPORTS WORD CALLBACK PCI_WhichBoardActive(void);
EXPORTS void CALLBACK P16R16_DO(WORD BaseAddr, WORD OutData);
EXPORTS WORD CALLBACK P16R16_DI(WORD BaseAddr);
EXPORTS void CALLBACK P8R8_DO(WORD BaseAddr, WORD OutData);
EXPORTS BYTE CALLBACK P8R8_DI(WORD BaseAddr);




4.3 PCI_FloatSub2

Description:

Performs subtraction (like A-B) for float data types. This function is

provided for testing DLL linkage.

Syntax: float PCI_FloatSub2(float fA, float fB)

Input Parameters:

fA: 4 bytes floating point value
fB: 4 bytes floating point value

Return Value: the value of fA-fB

PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …

35

Advertising
This manual is related to the following products: