PCI-1002 Series Card
12-bit, 110 kS/s or 44 kS/s Multi-function Board
User Manual, Ver. 3.0, Jun. 2018, PMH-015-30, Page: 41
6.
I/O Register Address
6.1
How to Find the I/O Address
During the power-on stage, the Plug and Play BIOS will assign an appropriate I/O address to each
PCI-1002 Series board installed in the system. Each board includes four fixed ID numbers that are
used to identify the board, and are indicated below:
Table 6-1:
PCI-1002L/H, PCI-1002LU/HU and PEX-1002L/H
Vendor ID
0x1234
Device ID
0x1002
We provide the following necessary functions:
1.
P1002_DriverInit(&wBoard)
This function can detect how many PCI-1002 series cards are in the system. The function is
implemented based on the PCI Plug & Play mechanism-1. It will find all PCI-1002 series cards
installed in this system & save all their resources in the library.
wBoard=1
only one PCI-1002 in this PC system.
wBoard=2
there are two PCI-1002 in this PC system.
2.
P1002_GetConfigAddressSpace(wBoardNo, *wBase, *wIrq, *wPLX)
Use this function to save resources of all PCI-1002 installed in this system.
Then the application program can control all functions of PCI-1002 directly.
wBoardNo=0 to N
totally N+1 cards of PCI-1002
wBase
base address of the board control word
wIrq
allocated IRQ channel number of this board
wPLX
base address of PCI-interface-IC
The PIO_PISO.EXE utility will detect and show all PIO/PISO cards installed in this PC. Refer to
“PIO_PISO.EXE Utility”
for more information.