5.3_9112_Initial
@ Description
A
Note : Because configuration of
need to be set up by the users.
uSyntax
Visual C++
int W_9112_Initial (int card_number, int *base_address, int *irq_no)
Visual Basic
W_9112_Initial (ByVal card_number As Long, base_address As Long, irq_no As Long) As Integer
C/C++ (DOS)
int _9112_Initial (int card_number, int *base_address, int *irq_no)
u 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 | asigned by system |
BIOS. |
|
irq_no: system will give an available interrupt number to this card automatically.
uReturn Code
ERR_NoError,ERR_InvalidBoardNumber
ERR_PCIBiosNotExist, ERR_PCICardNotExist
ERR_PCIIrqNotExist
uExample
#include "9112.h" main()
{
int | errCode; |
int | baseAddr1, irqNo1; |
int | baseAddr2, irqNo2; |
errCode = _9112_Initial( CARD_1, &baseAddr1, &irqNo1); if ( errCode != ERR_NoError )