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