Vortex Driver
API reference
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
hf::vortex::VortexCanFrame Struct Reference

Classic CAN 2.0A frame (11-bit ID, RTR, up to 8 data bytes). More...

#include <VortexCanFrame.hpp>

Public Member Functions

void pad () noexcept
 Zero-initialize data beyond DLC for debug consistency.
 

Public Attributes

std::uint32_t id {0}
 
std::uint8_t dlc {0}
 
bool extended {false}
 
bool rtr {false}
 
std::uint8_t data [8] {}
 

Detailed Description

Classic CAN 2.0A frame (11-bit ID, RTR, up to 8 data bytes).

Member Function Documentation

◆ pad()

void hf::vortex::VortexCanFrame::pad ( )
inlinenoexcept

Zero-initialize data beyond DLC for debug consistency.

Member Data Documentation

◆ data

std::uint8_t hf::vortex::VortexCanFrame::data[8] {}

◆ dlc

std::uint8_t hf::vortex::VortexCanFrame::dlc {0}

◆ extended

bool hf::vortex::VortexCanFrame::extended {false}

◆ id

std::uint32_t hf::vortex::VortexCanFrame::id {0}

◆ rtr

bool hf::vortex::VortexCanFrame::rtr {false}

The documentation for this struct was generated from the following file: