4.1.14 CAN_RxIrqStatus
Description:
Obtain receive interrupt status of the CAN controller.
Syntax:
int CAN_RxIrqStatus(BYTE BoardNo, BYTE Port, BYTE *bStatus)
Parameter:
BoardNo: [input] PISO-CAN board number (0~7)
Port: [input] CAN port number (1~8)
*bStatus:[output] 0
→
receive interrupt disable;
1
→
receive interrupt enable.
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.
PISO-CAN/PEX-CAN/PCM-CAN Series User’s Manual (v2.6 Dec/2013) -------
48
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru