3 function reference, 9812_initial, Function reference – ADLINK PCI-9810 User Manual

Page 60

Advertising
background image

48

Function Reference

6.3

Function Reference

_9812_Initial

Description

Initializes the PCI-9812/9810 card. Each PCI-9812/9810 card has
to be initialized by this function before calling other functions.

Syntax

C/C++ (DOS)

int _9812_Initial (int card_number, U16

*op_base_address,U16 *pt_base_address, U16

*irq_no, U16 *pci_master)

C/C++ (Windows 95)

int W_9812_Initial (int card_number, U16

*op_base_address,U16 *pt_base_address, U16

*irq_no, U16 *pci_master)

Visual Basic (Windows 95)

W_9812_Initial (ByVal card_number As Long,

op_base_address As Integer, pt_base_address

As Integer, irq_no As Integer, pci_master As

Integer) As Long

Argument(s)

card_number

Card number of the card to be initialized. Valid card
numbers are from 0 to 9.

op_base_address

Physical location of S5933 operation registers in the
I/O space.

pt_base_address

Physical location of add-on registers in the pass-
through I/O space.

irq_no

Interrupt IRQ level of the PCI-9812/9810 card. IRQ
value is automatically assigned by the system BIOS.

pci_master

Tells whether the BIOS enabled or disabled bus
mastering in the PCI Command Register.

Advertising
This manual is related to the following products: