2 _7260 initial, Description, Syntax – ADLINK PCI-7260 User Manual

Page 46: Argument, Return code, 7260 initial, Description @ syntax @ argument @ return code

Advertising
background image

36

C/C++ DOS Libraries

5.2 _7260 Initial

@ Description

The PCI-7260 cards are initialized according to the card number.
Because the PCI-7260 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-7260
card has to be initialized by this function before using other func-
tions.

@ Syntax

U16 _7260_Initial (U16 *existCards, PCI_INFO

*pciInfo)

@ Argument

existCards: The number of installed PCI-7260 cards. The
returned value shows how many PCI-7260 cards are installed in
your system.

pciInfo: It is a structure to memorize the PCI bus plug and play ini-
tiallization 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

Advertising