4.3.2. PIO_GetConfigAddressSpace
This function returns the base (I/O) address and information for the specified
PIO/PISO card, which can then be used to access/control each PIO/PISO card.
•
Syntax:
WORD
PIO_GetConfigAddressSpace
(WORD wBoardNo,
WORD *wBase,
WORD *wIrq,
WORD *wSubVendor, WORD *wSubDevice, WORD *wSubAux,
WORD *wSlotBus,
WORD *wSlotDevice);
•
Parameters:
wBoardNo
[In] The Board number starting from 0.
wBase
[Out] The base address of the board.
wIrq
[Out] The IRQ number allocated to the board.
wSubVendor [Out] The Sub-Vendor ID of the board.
wSubDevice [Out] The Sub-Device ID of the board
wSubAux [Out] The Sub-Aux ID of the board.
wSlotBus
[Out] The Bus Number of the slot.
wSlotDevice [Out]
The
Device Number of the slot.
•
Return:
Refer to the error codes in Section 4.2 for more information.
PISO-P8R8U/P16R16U/PEX-P8R8i/P16R16i User Manual (Ver.1.6,Mar/2010, PMH-021-16) -
28
-