4.1.3 CAN_GetBoardInf
Description:
Obtain the information of PISO-CAN boards, which include vender ID,
device ID and interrupt number.
Syntax:
int CAN_GetBoardInf(BYTE BoardNo, DWORD *dwVID, DWORD
*dwDID, DWORD *dwSVID,DWORD *dwSDID, DWORD *dwSAuxID,
DWORD *dwIrqNo)
Parameter:
BoardNo:
[input] PISO-CAN board number
*dwVID:
[output] vendor ID of this board
*dwDID:
[output] device ID of this board
*dwSVID:
[output] sub-vendor ID of this board
*dwSDID: [output]
sub-device ID of this board
*dwSAuxID: [output]
sub-auxiliary ID of this board
*dwIrq:
[output] logical interrupt number of this board
Return:
CAN_NoError: OK
CAN_DriverError: Kernel driver can not be opened.
CAN_BoardNumberError: BoardNo exceeds the current total board
number.
PISO-CAN/PEX-CAN/PCM-CAN Series User’s Manual (v2.6 Dec/2013) -------
35
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru