![background image](http://html1.mh-extra.com/html/icp-das-usa/pci-p8r8/pci-p8r8_user-manual_3730821030.webp)
4 . I/O Control Register
4.1 How to find the I/O Address
The Plug&Play BISO assigns a proper I/O address to every PCI-P8R8/P16R16/
P16C16/P8R8/P16POR16 and PEX-P8POR8i/P16POR16i card in the power-on
stage. The IDs of PCI-P8R8/P16R16/ P16C16/P8R8/P16POR16 and PEX-
P8POR8i/P16POR16i are as follows:
Model Name
PCI-P8R8
PCI-P8POR8
PEX-P8POR8i
PCI-P16R16
PCI-P16C16
PCI-P16POR16
PEX-P16POR16i
Vendor ID
0x1234
0x1234
Device ID
0x0808
0x1616
Sub Vendor ID
0x0000
0x0000
Sub Device ID
0x0000
0x0000
We provide the following necessary functions:
1. PCI_DriverInit (&wBoards)
This function detects how many PCI-P8R8/P16R16 series cards are installed in
the system, and also records all their I/O resources information in the library.
The function is implemented based on the PCI Plug & Play mechanism. Please
refer to “PCI-P16R16 Series Software Manual”.
2. PCI_GetConfigAddressSpace(wBoards, &wTypeID, &wAddress0,
&wAddress1, &wAddress2,
&wAddress3,&wAddress4,&wAddress5);
Use this function to get I/O resources information of a PCI-P8R8/P16R16 series
card installed in this system. Then the application program can control all
functions of PCI-P8R8/P16R16 series card directly. Please refer to “PCI-
P16R16 Series Software Manual”.
!
Note: The PCI-P8R8/P16R16 series card is to use the BAR 2
(&wAddress2) to control all functions, please refer to
PCI-P16R16 Series User Manual (Ver.2.8, Apr. 2011, PMH-013-28)
28