4.1.15 CAN_InstallIrq
Description:
Enable or start IRQ for PISO-CAN board. Before calling this function,
CAN_EnableRxIrq
must to be called first.
Syntax:
int CAN_InstallIrq(BYTE BoardNo)
Parameter:
BoardNo: [input] PISO-CAN board number (0~7).
Return:
CAN_NoError: OK
CAN_DriverError: Kernel driver can’t be opened.
CAN_BoardNumberError: BoardNo is not correct or exceeds the current
total board number.
CAN_ActiveBoardError: This board is not activated.
CAN_InstallIrqFailure: Enable or start IRQ failure.
PISO-CAN/PEX-CAN/PCM-CAN Series User’s Manual (v2.6 Dec/2013) -------
49
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru