Lely core libraries 2.3.4
vci.h
Go to the documentation of this file.
1
22#ifndef LELY_CAN_VCI_H_
23#define LELY_CAN_VCI_H_
24
25#include <lely/can/msg.h>
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
46int CANMSG_is_error(const void *msg, enum can_state *pstate,
47 enum can_error *perror);
48
57int CANMSG2can_msg(const void *src, struct can_msg *dst);
58
67int can_msg2CANMSG(const struct can_msg *src, void *dst);
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif // !LELY_CAN_VCI_H_
can_error
The error flags of a CAN bus, which are not mutually exclusive.
Definition: err.h:42
can_state
The states of a CAN node, depending on the TX/RX error count.
Definition: err.h:28
This header file is part of the CAN library; it contains the CAN frame declarations.
A CAN or CAN FD format frame.
Definition: msg.h:87
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.