Table 4.2 Interpretation of the return code
Return Code
Error ID
Comment
0
CAN_NoError OK
1
CAN_DriverError Driver
error
2
CAN_ActiveBoardError
This board can’t be activated.
3
CAN_BoardNumberError
The board number exceeds the
maximum board number (7).
4
CAN_PortNumberError
The port number exceeds the
maximum port number.
5
CAN_ResetError
CAN chip hardware reset error
6
CAN_SoftResetError
CAN chip software reset error
7
CAN_InitError
CAN chip initiation error
8
CAN_ConfigError
CAN chip configure error
9
CAN_SetACRError
Set to Acceptance Code Register
error
10
CAN_SetAMRError
Set to Acceptance Mask Register
error
11
CAN_SetBaudRateError
Set Baud Rate error
12
CAN_EnableRxIrqFailure
Enable CAN chip receive interrupt
failure
13
CAN_DisableRxIrqFailure
Disable CAN chip receive interrupt
failure
14
CAN_InstallIrqFailure
Installing PCI board IRQ failure
15
CAN_RemoveIrqFailure
Removing PCI board IRQ failure
16
CAN_TransmitBufferLocked
Transmit buffer in CAN chip is
locked
17
CAN_TransmitIncomplete
Previously transmission is not yet
completed
18
CAN_ReceiveBufferEmpty
CAN chip RXFIFO is empty
19
CAN_DataOverrun
Data was lost because there was
not enough space in CAN chip
RXFIFO
20
CAN_ReceiveError
Receive data is not completed
21
CAN_SoftBufferIsEmpty
Software buffer in driver is empty
22
CAN_SoftBufferIsFull
Software buffer in driver is full
23
CAN_TimeOut
Function no response and timeout
CAN_InstallIsrError
24
PISO-CAN/PEX-CAN/PCM-CAN Series User’s Manual (v2.6 Dec/2013) -------
33
Installing user ISR failure
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru