3.8.3 P1602_GetConfigAddressSpace
z
Description:
Gets the I/O address of OME-PCI-1602 board n. This function
is for debugging purposes only. It is not necessary to call this function.
z
Syntax :
WORD P1602_GetConfigAddressSpace(WORD wBoardNo, WORD
*wAddrTimer,WORD *wAddrCtrl, WORD *wAddrDio, WORD *wAddrAdda);
z
Input Parameter :
wBoardNo: OME-PCI-1602 board number
wAddrTimer, wAddrCtrl, wAddrDio, wAddrAdda: refer to the “OME-PCI-1602
Hardware manual” chapter-3 for details.
z
Return Value :
NoError : OK
FindBoardError: handshake check error
ExceedBoardError: wBoardNo is invalid
z
Demo Program : DEMO1.C
3.8.4 P1602_WhichBoardActive
z
Description:
Returns the board number of the active board.
z
Syntax:
WORD
P1602_WhichBoardActive(void);
z
Input Parameter:
void
z
Return Value:
board number of the active board.
z
Demo Program: DEMO1.C
50
Summary of Contents for OME-PCI-1602
Page 37: ... Demo Program DEMO9 C 37 ...