Vector::BLF::CanFdMessage64(3) Library Functions Manual Vector::BLF::CanFdMessage64(3)

Vector::BLF::CanFdMessage64 - CAN_FD_MESSAGE_64.

#include <CanFdMessage64.h>

Inherits Vector::BLF::ObjectHeader, and Vector::BLF::CanFdExtFrameData.


void read (AbstractFile &is) override
void write (AbstractFile &os) override
uint32_t calculateObjectSize () const override
virtual bool hasExtData () const

Public Member Functions inherited from Vector::BLF::ObjectHeader
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)
void read (AbstractFile &is) override
void write (AbstractFile &os) override
uint16_t calculateHeaderSize () const override
uint32_t calculateObjectSize () const override

Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)
ObjectHeaderBase (const ObjectHeaderBase &)=default
ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default
ObjectHeaderBase (ObjectHeaderBase &&)=default
ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default

Public Member Functions inherited from Vector::BLF::CanFdExtFrameData
CanFdExtFrameData (const CanFdExtFrameData &)=default
CanFdExtFrameData & operator= (const CanFdExtFrameData &)=default
CanFdExtFrameData (CanFdExtFrameData &&)=default
CanFdExtFrameData & operator= (CanFdExtFrameData &&)=default


uint8_t channel {}
application channel uint8_t dlc {}
CAN dlc. uint8_t validDataBytes {}
Valid payload length of data. uint8_t txCount {}
txRequiredCount (4 bits), txReqCount (4 Bits) uint32_t id {}
CAN ID. uint32_t frameLength {}
message length in ns uint32_t flags {}
flags uint32_t btrCfgArb {}
bit rate used in arbitration phase uint32_t btrCfgData {}
bit rate used in data phase uint32_t timeOffsetBrsNs {}
time offset of brs field uint32_t timeOffsetCrcDelNs {}
time offset of crc delimiter field uint16_t bitCount {}
complete message length in bits uint8_t dir {}
uint8_t extDataOffset {}
uint32_t crc {}
CRC for CAN. std::vector< uint8_t > data {}
CAN FD data.

Public Attributes inherited from Vector::BLF::ObjectHeader
uint32_t objectFlags {ObjectFlags::TimeOneNans}
object flags uint16_t clientIndex {}
client index of send node uint16_t objectVersion {0}
object specific version uint64_t objectTimeStamp {}
object timestamp

Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}
signature (ObjectSignature) uint16_t headerSize {}
sizeof object header uint16_t headerVersion {}
header version (1) uint32_t objectSize {}
object size ObjectType objectType {ObjectType::UNKNOWN}
object type

Public Attributes inherited from Vector::BLF::CanFdExtFrameData
uint32_t btrExtArb {}
uint32_t btrExtData {}
std::vector< uint8_t > reservedCanFdExtFrameData {}

Public Types inherited from Vector::BLF::ObjectHeader
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }

CAN_FD_MESSAGE_64.

CAN FD data frame, or CAN data- or remote frame on a CAN FD channel.

Calculates the objectSize

Returns

object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

Read the data of this object

Parameters

is input stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

Write the data of this object

Parameters

os output stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

complete message length in bits Bit count of the message

bit rate used in arbitration phase CAN- or CAN-FD bit timing configuration for arbitration phase, may be 0, if not supported by hardware/driver

  • Bit 0-7: Quartz Frequency
  • Bit 8-15: Prescaler
  • Bit 16-23: BTL Cycles
  • Bit 24-31: Sampling Point

bit rate used in data phase CAN-FD bit timing configuration for data phase, may be 0, if not supported by hardware/driver. See btrCfgArb.

application channel Channel the frame was sent or received.

CAN FD data. Data bytes (the actual length may be shorter than 64 bytes, according to the value of dlc).

Direction of the message

CAN dlc. Data length code of frame.

  • DLC=0-8: CAN=0-8, CAN FD=0-8
  • DLC=9: CAN=8, CAN FD=12
  • DLC=10: CAN=8, CAN FD=16
  • DLC=11: CAN=8, CAN FD=20
  • DLC=12: CAN=8, CAN FD=24
  • DLC=13: CAN=8, CAN FD=32
  • DLC=14: CAN=8, CAN FD=48
  • DLC=15: CAN=8, CAN FD=64

offset if extDataOffset is used

flags

  • Bit#=0 (0x0001): Must be 0
  • Bit#=1 (0x0002): Reserved, for internal use
  • Bit#=2 (0x0004): 1=NERR (1=single wire on low speed CAN)
  • Bit#=3 (0x0008): 1=High voltage wake up
  • Bit#=4 (0x0010): 1=Remote frame (only CAN)
  • Bit#=5 (0x0020): Reserved, must be 0
  • Bit#=6 (0x0040): 1=Tx Acknowledge
  • Bit#=7 (0x0080): 1=Tx Request
  • Bit#=8 (0x0100): Reserved, must be 0
  • Bit#=9 (0x0200): SRR (CAN FD)
  • Bit#=10 (0x0400): R0
  • Bit#=11 (0x0800): R1
  • Bit#=12 (0x1000): EDL, 0: CAN frame, 1: CAN FD frame
  • Bit#=13 (0x2000): BRS (CAN FD)
  • Bit#=14 (0x4000): ESI
  • Bit#=15 (0x8000): Reserved, must be 0
  • Bit#=16 (0x10000): Reserved, must be 0
  • Bit#=17 (0x20000): 1=Frame is part of a burst
  • Bit#=18-31: Reserved, must be 0

message length in ns Message duration [in ns]. Not including 3 interframe-space bit times and by Rx-messages also not including 1 end-of-frame bit time

CAN ID. Frame identifier.

time offset of brs field Time offset of bit rate switch within BRS field in nanoseconds

time offset of crc delimiter field Time offset of bit rate switch within CRC delimiter field in nanoseconds

txRequiredCount (4 bits), txReqCount (4 Bits) (Bits 0-3) Number of required tranmission attempts, (Bits 4-7) Max Number of transmission attempts.

Valid payload length of data. Valid payload length of data, can differ from DLC value.

Generated automatically by Doxygen for Vector BLF from the source code.

Vector BLF