3. I/O Registers
3.1 How to Find the I/O Address
The Plug & Play BIOS will assign a valid I/O address to all
• | Vendor ID | = 1234 |
• | Device ID | = 1002 |
Associated Driver Functions:
1.P1002_DriverInit(&wBoard)
This function detects the number of
•wBoard=1 Æ only one
•wBoard=2 Æ there are two
2.P1002_GetConfigAddressSpace(wBoardNo, *wBase, *wIrq, *wPLX) Use this function to determine the resources for all cards installed in the system.
This is used when writing directly to the card’s I/O addresses.
•wBoardNo=0 to N Æ totally N+1 cards of
•wBase Æ base address of the board control word
•wIrq Æ allocated IRQ channel number of this board
•wPLX Æ base address of
26