ADLINK PCI-7256 User Manual
Page 38

30
• C/C++ DOS Libraries
5.2 _7256
Initial
@ Description
The PCI-7256 cards are initialized according to the card number. Because
the PCI-7256 is PCI bus architecture and meets the plug and play design,
the IRQ and base_address ( pass-through address) are assigned by system
BIOS directly. Every PCI-7256 card has to be initialized by this function
before using other functions.
@ Syntax
U16 _7256_Initial (U16 *existCards, PCI_INFO *pciInfo)
@ Argument
existCards : The number of installed PCI-7256 cards.
The returned value shows how many PCI-7256 cards are
installed in your system.
pciInfo: It is a structure to memorize the PCI bus plug
and play initiallization information which is decided by
p&p BIOS. The PCI_INFO structure is defined in ACL_PCI.H.
The base I/O address and the interrupt channel number is
stored in pciinfo which is for reference.
@ Return Code
ERR_NoError, ERR_PCIBiosNotExist, ERR_BoardNoInit,
ERR_InvalidBoardNumber