![]() |
![]() |
Macros | |
#define | CAN_STATUS_SUCCESS ((int_fast16_t)0) |
Successful status code. More... | |
#define | CAN_STATUS_ERROR ((int_fast16_t)-1) |
Generic error status code. More... | |
#define | CAN_STATUS_NOT_SUPPORTED ((int_fast16_t)-2) |
Not supported status code. More... | |
#define | CAN_STATUS_TX_BUF_FULL ((int_fast16_t)-3) |
Tx buffer full status code. More... | |
#define | CAN_STATUS_NO_RX_MSG_AVAIL ((int_fast16_t)-4) |
No received message available status code. More... | |
#define | CAN_STATUS_NO_TX_EVENT_AVAIL ((int_fast16_t)-5) |
No Tx event available status code. More... | |
#define CAN_STATUS_SUCCESS ((int_fast16_t)0) |
Successful status code.
Functions return CAN_STATUS_SUCCESS if the function was executed successfully.
#define CAN_STATUS_ERROR ((int_fast16_t)-1) |
Generic error status code.
Functions return CAN_STATUS_ERROR if the function was not executed successfully and no more pertinent error code could be returned.
#define CAN_STATUS_NOT_SUPPORTED ((int_fast16_t)-2) |
Not supported status code.
Functions return CAN_STATUS_NOT_SUPPORTED if the function is not supported either by the target hardware or the driver implementation.
#define CAN_STATUS_TX_BUF_FULL ((int_fast16_t)-3) |
Tx buffer full status code.
Functions return CAN_STATUS_TXBUF_FULL if the Tx buffers are full.
#define CAN_STATUS_NO_RX_MSG_AVAIL ((int_fast16_t)-4) |
No received message available status code.
Functions return CAN_STATUS_NO_RX_MSG_AVAIL if there are no messages available in the Rx message ring buffer.
#define CAN_STATUS_NO_TX_EVENT_AVAIL ((int_fast16_t)-5) |
No Tx event available status code.
Functions return CAN_STATUS_NO_TX_EVENT_AVAIL if there are no Tx events available in the Tx Event FIFO.