Intel LPCI-7200S manual 5.3 7200Initial, @ Description, @ Syntax, Visual C++ Windows, C/C++ Dos

Models: LPCI-7200S

1 71
Download 71 pages 46.71 Kb
Page 47
Image 47
5.3 _7200_Initial

5.3 _7200_Initial

@ Description

A PCI-7200 card is initialized according to the card number.

Because the PCI-7200 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-7200 card has to be initialized by this function before calling other functions.

Note: Because the configuration of PCI-7200 is handled by the system, there are no jumpers or DMA selection on the PCI boards that need to be set up by the users.

@ Syntax

Visual C++ (Windows 95)

int W_7200_Initial (U8 card_number, U16 *base_addresss, U8 *irq_no)

Visual Basic (Windows 95)

W_7200_Initial (ByVal card_number As Byte,

base_addresss As Integer, irq_no As Byte) As Long

C/C++ (DOS)

int _7200_Initial (U8 card_number, U16 *base_addresss, U8 *irq_no)

@ 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.

base_address: the I/O port base address of the card, it is assigned by the system BIOS.

irq_no: the system will give an available interrupt number to this card automatically.

@ Return Code

ERR_NoError

ERR_InvalidBoardNumber

ERR_PCIBiosNotExist

ERR_PCICardNotExist

ERR_PCIIrqNotExist

ERR_BaseAddressError

C/C++ Libraries 39

Page 47
Image 47
Intel LPCI-7200S 5.3 7200Initial, @ Description, @ Syntax, Visual C++ Windows, Visual Basic Windows, C/C++ Dos, @ Argument