24 #ifndef LELY_IO2_CAN_MSG_HPP_ 25 #define LELY_IO2_CAN_MSG_HPP_ 63 #endif // !LELY_NO_CANFD 69 return static_cast<CanFlag>(~static_cast<
int>(rhs));
73 return static_cast<CanFlag>(
static_cast<int>(lhs) & static_cast<int>(rhs));
78 return static_cast<CanFlag>(
static_cast<int>(lhs) ^ static_cast<int>(rhs));
83 return static_cast<CanFlag>(
static_cast<int>(lhs) | static_cast<int>(rhs));
88 return lhs = lhs & rhs;
93 return lhs = lhs ^ rhs;
98 return lhs = lhs | rhs;
104 #endif // !LELY_IO2_CAN_MSG_HPP_ CanFlag
The error flags of a CAN bus, which are not mutually exclusive.
This header file is part of the I/O library; it contains the CAN frame declarations.
The Error State Indicator (ESI) flag (only available in CAN FD format frames).
The Remote Transmission Request (RTR) flag (unavailable in CAN FD format frames). ...
The FD Format (FDF) flag, formerly known as Extended Data Length (EDL).
The Identifier Extension (IDE) flag.
The Bit Rate Switch (BRS) flag (only available in CAN FD format frames).