![background image](http://html1.mh-extra.com/html/icp-das-usa/piso-p8r8u/piso-p8r8u_user-manual_3551649023.webp)
3.3.2. CARD ID Register
(Read): wBase+7
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
-
- ID3 ID2 ID1 ID0 -
-
Note. Refer to Sec. 3.1 for more information regarding wBase.
The Card ID is designed to enable easy identification between several PCI
cards that have the same model number.
Note:
The Card ID is
NOT
the same as the Board Number.
The Board Number depends on the bus number, slot number and total number
of boards in the computer, and may be changed when another card is added in
another PCI slot. In this case, it may be difficult to know which card is being used to
control which device.
The Card ID can be set using the SW1 dip switch, so it is easy to set the correct
connections between cards and devices. So, by reading the Card ID users can
check whether their program is accessing the correct card.
Card_ID = 0x0F & (~(intportb(wBase+7) >> 2));
/* get Card ID */
PISO-P8R8U/P16R16U/PEX-P8R8i/P16R16i User Manual (Ver.1.6,Mar/2010, PMH-021-16) -
23
-