Standard software
PA 1500
2)
i_PA1500_SetBoardAddress (...)
Syntax:
<Return value> =
i_PA1500_SetBoardAddress
(UINT
ui_BaseAddress,
BYTE
b_AccessMode,
PBYTE
pb_BoardHandle)
Parameters:
- Input:
UINT
ui_BaseAddress:
Base address of the
PA 1500
board
BYTE
b_AccessMode:
PA 1500 access mode
- PA1500_8BIT: 8-bit access
- PA1500_16BIT: 16-bit access
- Output:
PBYTE pb_BoardHandle:
Handle
of board
PA 1500
to
use the
functions
Task:
Checks if the board
PA 1500
is present and stores the base address.
A handle is returned to the user which allows to use the following functions.
Handles allow to operate several boards.
Return value:
0: No error
-1: Not available base address
-2: Error in the access mode parameter
-3: Board not present
-4: No handle is available for the board (up to 10 handles can be used)
-5: Error by opening the kernel driver under Windows NT / 95
1
Identification number of the board
42