22#ifndef LELY_CAN_VCI_H_
23#define LELY_CAN_VCI_H_
can_error
The error flags of a CAN bus, which are not mutually exclusive.
can_state
The states of a CAN node, depending on the TX/RX error count.
This header file is part of the CAN library; it contains the CAN frame declarations.
A CAN or CAN FD format frame.
int CANMSG2can_msg(const void *src, struct can_msg *dst)
Converts an IXXAT VCI CAN message to a can_msg frame.
int CANMSG_is_error(const void *msg, enum can_state *pstate, enum can_error *perror)
Checks if an IXXAT VCI CAN message is an error message and parses the bus state and error flags if it...
int can_msg2CANMSG(const struct can_msg *src, void *dst)
Converts a can_msg frame to an IXXAT VCI CAN message.