4.1.12 CAN_EnableRxIrq
Description:
Enable receive interrupt for CAN controller.
Syntax:
int CAN_EnableRxIrq(BYTE BoardNo, BYTE Port)
Parameter:
BoardNo: [input] PISO-CAN board number (0~7).
Port: [input] CAN port number (1~8)
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_PortNumberError: Port number is not correct.
CAN_ActiveBoardError: This board is not activated.
CAN_EnableRxIrqFailure: Enable receives interrupt failure.
PISO-CAN/PEX-CAN/PCM-CAN Series User’s Manual (v2.6 Dec/2013) -------
46
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru