Error Codes
Error Codes
This chapter contains the description of all error codes.
Error Code | The error code indicates, that ... |
---|---|
| no error is detected. |
| a parameter pointer is NULL |
| the bus identifier is out of range |
| the buffer size (CAN frame size) is invalid |
| the driver indicates, that the CAN bus cant be opened |
| the CAN bus cant be enabled |
| the I/O function code is out of range |
| the given message identifier is not found |
| the message identifier is out of range |
| unused signals are linked to the message |
| the message cant be created |
| the signal identifier is out of range |
| the signal is not configured |
| the given signal size is invalid, e.g. is not 1, 2 or 4 |
| the signal cant be created |
| the given frame width is not 1, 2 or 4 |
| the CAN frame cant be released to the memory pool |
| the CAN frame cant be set into the RX or TX queue |
| the CAN frame cant be allocated from the memory pool |
| the CAN semaphore(s) cant be created |
| the CAN RX queue is empty and timeout error is detected |
| the CAN RX queue is empty |
| the CAN semaphore pending timeout error is detected |
| the CAN semaphore posting timeout error is detected |
| the CAN TX queue is empty |
Note: the global variable CPU_INT16S can_errnum
holds the last detected error code.