
C/C++ DOS Function Library
25
PCIe-7360
ERR_BoardNoInit
_7256_Initial
Since IRQ and base_address (pass-through address) are
assigned by system BIOS directly, each card must be initial-
ized by this function before using other functions.
Syntax
U16 _7256_Initial (U16 *existCards, PCI_INFO
*pciInfo)
Argument
existCards
: The returned value indicates the number of
PCI-7256 cards installed on the system.
pciInfo
: A structure to detect PCI bus plug and play initial-
ization information as defined by p&p BIOS. PCI_INFO
structure is defined in ACL_PCI.H, and base I/O address
and interrupt channel number are stored in pciinfo for refer-
ence.
Return Code
ERR_NoError
ERR_PCIBiosNotExist
ERR_BoardNoInit
ERR_InvalidBoardNumber
_7256_INT_Control
Controls interrupt source. For more details , see Section 3.7
Interrupt Control Register.
Syntax
U16 _7256_INT_Control (U16 boardID, U16
COS_Enable, U16 CH0_Enable, U16 CH1_Enable)
Argument
boardID
: Board ID to the specific board.
COS_Enable
: Enables/disables COS interrupt.
CH0_Enable
: Enables/disables digital input channel 0 inter-
rupt