APCI-/CPCI-1500 Technical
description Chapter 9
44
4) i_APCI1500_GetHardwareInformation (...)
Syntax:
<Return value> = i_APCI1500_GetHardwareInformation
(BYTE b_BoardHandle,
PUINT pui_BaseAddress,
PBYTE pb_InterruptNbr,
PBYTE pb_SlotNumber)
Parameters:
- Input
BYTE
b_BoardHandle
Handle of board
xPCI-1500
- Output:
PUINT pui_BaseAddress
xPCI-1500
base address
PBYTE pb_InterruptNbr
xPCI-1500
interrupt channel.
PBYTE pb_SlotNumber
xPCI-1500
slot number
Task:
Returns the base address, the interrupt and the slot number of the
xPCI-1500
.
Calling convention:
ANSI
C
:
int
i_ReturnValue;
unsigned
int ui_BaseAddress;
unsigned
char b_InterruptNbr;
unsigned
char b_SlotNumber;
unsigned
char b_BoardHandle;
i_ReturnValue = i_APCI1500_GetHardwareInformation
(b_BoardHandle,
&ui_BaseAddress,
&b_InterruptNbr,
&b_SlotNumber);
Return value:
0: No error
-1: The handle parameter of the board is wrong