Veethree D7 SDK
Loading...
Searching...
No Matches
can_common.h File Reference

Detailed Description

Common CAN structures.

Note
These structures are effectively the same as the ones defines in the Linux kernel with the exception of ctrl_mode and transmitter_delay_compensation.
#include <cstdint>
#include <optional>
Include dependency graph for can_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vsdk::comms::can_msg_frame
 CAN frame structure. More...
struct  vsdk::comms::can_bit_timing
 CAN Bit Timing structure. More...
struct  vsdk::comms::can_bit_timing_const
 CAN hardware-dependent bit timing constant. More...
struct  vsdk::comms::can_bus_err_counter
 CAN Bus error counters. More...
struct  vsdk::comms::ctrl_mode
 CAN Controller Mode. More...
struct  vsdk::comms::transmitter_delay_compensation
 CAN FD Transmitter Delay Compensation. More...

Namespaces

namespace  vsdk
 Any entities that belong to the Veethree SDK libraries.
namespace  vsdk::comms
 Any entities that belong to the comms library.

Enumerations

enum class  vsdk::comms::can_status : uint8_t {
  vsdk::comms::can_status::error_active = 0 , vsdk::comms::can_status::error_warning , vsdk::comms::can_status::error_passive , vsdk::comms::can_status::bus_off ,
  vsdk::comms::can_status::stopped , vsdk::comms::can_status::sleeping
}
 CAN Bus status values. More...

Variables

constexpr auto vsdk::comms::can_max_msg_len = 8
 The maximum length of a CAN frame payload.

Detailed Description

Common CAN structures.

Note
These structures are effectively the same as the ones defines in the Linux kernel with the exception of ctrl_mode and transmitter_delay_compensation.