www.beck-ipc.com

@CHIP-RTOS - CAN Error Codes


    IPC@CHIP® Documentation Index

CAN Error Codes

These error codes are returned by the CAN API in the AX register.

CAN_EC_SUCCESS = 0, no problem
CAN_EC_INVALID_PARAMS = -1, Input parameters invalid
CAN_EC_INVALID_BAUD = -2, Invalid baud rate specified
CAN_EC_PORT_NOT_OPENED = -3, Op not allowed on closed port
CAN_EC_PORT_ALREADY_OPENED = -4, Attempt to open port already opened
CAN_EC_NO_BUF_SPACE = -5, Transmit buffer is full
CAN_EC_TIMEOUT = -6, Event wait time-out
CAN_EC_LOW_RESOURCES = -7, RTX event group allocation failed
CAN_EC_NO_SUCH_SERVICE = -8, Invalid index in AH register
CAN_EC_INVALID_Q_SIZE = -9, Queue size out of range
CAN_EC_LOW_MEMORY = -10, Heap memory allocation failed




End of document