24 •• C/C++ Libraries
5.4 _7250_Initial/_7252_Initial
@ Description
The PCI-7250 and cPCI-7252 cards are initialized according to the card
number. Because the PCI-7250 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-7250 card
has to be initialized by this function before calling other functions.
Note : Because configuration of PCI cards are handled by the system,
there is no jumpers or IRQ selection on the PCI boards that need
to be set up by the users.
@ Syntax
C/C++ (DOS, Windows 95)
U16 W_7250_Initial (U16 *existCards, PCI_INFO *pciInfo)
U16 W_7252_Initial (U16 *existCards, PCI_INFO *pciInfo)
Visual Basic (Windows 95)
W_7250_Initial (existCards As Integer, pciInfo As PCI_INFO)
As Integer
W_7252_Initial (existCards As Integer, pciInfo As PCI_INFO)
As Integer
@ Argument
existCards : The number of installed PCI-7250 cards. The
returned value shows how many PCI-7248 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