ADLINK PCI-7258 User Manual

Page 33

Advertising
background image

C/C++ Libraries

• 25

5.2 _7258

Initial

@ Description

The PCI-7258 cards are initialized according to the card number. Because
the PCI-7258 is designed with the PCI bus architecture and meets the plug
and play specifications, the IRQ and base_address (pass-through address)
are assigned by system BIOS directly. Every PCI-7258 card has to be
initialized by this function before using any other functions.

@ Syntax

U16 _7258_Initial (U16 *existCards, PCI_INFO *pciInfo)

@ Argument

existCards: The number of installed PCI-7258 cards. The returned value

shows how many PCI-7258 cards are installed in the system.

pciInfo:

This structure stores the PCI bus plug and play initialization
information which is determined by PnP BIOS. The PCI_INFO
structure is defined in the ACL_PCI.H header file. The base I/O
addresses and the interrupt channel number are stored in the
pciinfo, which is used for reference.

@ Return Code

ERR_NoError, ERR_PCIBiosNotExist, ERR_BoardNoInit,
ERR_InvalidBoardNumber

Advertising