3 _7300_initial, 7300_initial – ADLINK PCIe-7300A User Manual
Page 74

64
C/C++
Libraries
5.3
_7300_Initial
@ Description
A cPCI/PCI/PCIe-7300A card is initialized according to the card
number. Because the cPCI/PCI/PCIe-7300A is PCI bus architec-
ture and meets the plug and play design, the IRQ and base
address (pass-through address) are assigned by system BIOS
directly. Every cPCI/PCI/PCIe-7300A card has to be initialized by
this function before calling other functions.
Note:
Because configuration of cPCI/PCI/PCIe-7300A is handled
by the system, there is no jumpers or DMA selection on the
PCI boards that need to be set up by the users.
@ Syntax
Visual C/C++ (Windows 95)
int W_7300_Initial (int card_number, int
*pcic_base_addr, int *lb_base_addr, int
*irq_no, int *pci_master)
Visual C/C++ (Windows 95)
W_7300_Initial (ByVal card_number As Long,
pcic_base_addr As Long, lb_base_addr As
Long, irq_no As Long, pci_master As Long) As
Long
C/C++ (DOS)
int _7300_Initial (int card_number, int
*pcic_base_addr, int *lb_base_addr, int
*irq_no, int *pci_master)
@ Argument
card_number
:the card number to be initialized, only four cards
can be initialized, the card number must be CARD_1, CARD_2,
CARD_3 or CARD_4.
pcic_base_addr
:the I/O port base address of the PCI controller
on card, it is assigned by system BIOS.
lb_base_addr
:the I/O port base address of the card, it is
assigned by system BIOS.