I-7188XBD-CAN/μPAC-7186EXD-CAN user manual (ver.1.0.3, May/09/2014)
49
3.2 Table of Return Code
Return
Code
Error ID
Comment
0
CAN_NoError
OK
5
CAN_ResetError
Enter reset mode 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
14
CAN_InstallIrqFailure
Enable interrupt functions failure
15
CAN_RemoveIrqFailure
Disable interrupt functions failure
16
CAN_TransmitIncomplete
Data can’t be transmitted successfully
17
CAN_TransmitBufferLocked Previously transmission is not completed yet
18
CAN_ReceiveBufferEmpty
No message is stored in the receive buffer
now
19
CAN_DataOverrun
Data was lost because there was not enough
space in software receive buffer
20
CAN_ReceiveError
Receive data is not completed
21
CAN_SoftBufferIsFull
Software transmit buffer is full
22
CAN_SoftBufferIsEmpty
There is no message stored in the
user-declared software buffer
23
CAN_BaudNotSupport
This Baud Rate is not supported
24
CAN_DataLengthError
Data length doesn’t match the total data
bytes
25
CAN_NotEnoughMemory
There is not enough memory space to create
the reception or transmission software buffer.
26
CAN_TypeOf7188Error
The type of 7188 is not defined by this library
50
CAN_AutoBaudTimeout
CAN bus baud rate not found
51
CAN_TxBufferNotZero
If the transmission buffer is not disabled, this
error code will be returned after calling
SendCANMsg_NonBlock.
52
CAN_BusOff
When CAN Bus status become
“Bus Off”,
this error code will be return.