VECTOR_BLF_CANFDMESSAGE64(3)
β¨ Vector::BLF::CanFdMessage64 β¨
okay bestie, so this is a page from the Library Functions Manual and it's literally all about Vector::BLF::CanFdMessage64 β the CAN_FD_MESSAGE_64 class π
buckle up, she's detailed.
πΈ NAME πΈ
Vector::BLF::CanFdMessage64 β CAN_FD_MESSAGE_64</p>. that's the whole vibe. that's her name. periodt.
π¦ SYNOPSIS π¦
#include <CanFdMessage64.h>
k so she inherits from Vector::BLF::ObjectHeader, and Vector::BLF::CanFdExtFrameData. two parents, both iconic, no cap π
β¨ Public Member Functions β¨
void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint32_t calculateObjectSize () const overridevirtual bool hasExtData () const
π Public Member Functions inherited from Vector::BLF::ObjectHeader
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint16_t calculateHeaderSize () const overrideuint32_t calculateObjectSize () const override
π Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)ObjectHeaderBase (const ObjectHeaderBase &)=defaultObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultObjectHeaderBase (ObjectHeaderBase &&)=defaultObjectHeaderBase & operator= (ObjectHeaderBase &&)=default
π Public Member Functions inherited from Vector::BLF::CanFdExtFrameData
CanFdExtFrameData (const CanFdExtFrameData &)=defaultCanFdExtFrameData & operator= (const CanFdExtFrameData &)=defaultCanFdExtFrameData (CanFdExtFrameData &&)=defaultCanFdExtFrameData & operator= (CanFdExtFrameData &&)=default
π Public Attributes π
uint8_t channel {}β application channeluint8_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 nsuint32_t flags {}β flagsuint32_t btrCfgArb {}β bit rate used in arbitration phaseuint32_t btrCfgData {}β bit rate used in data phaseuint32_t timeOffsetBrsNs {}β time offset of brs fielduint32_t timeOffsetCrcDelNs {}β time offset of crc delimiter fielduint16_t bitCount {}β complete message length in bitsuint8_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 flagsuint16_t clientIndex {}β client index of send nodeuint16_t objectVersion {0}β object specific versionuint64_t objectTimeStamp {}β object timestamp
π Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}β signature (ObjectSignature)uint16_t headerSize {}β sizeof object headeruint16_t headerVersion {}β header version (1)uint32_t objectSize {}β object sizeObjectType objectType {ObjectType::UNKNOWN}β object type
π Public Attributes inherited from Vector::BLF::CanFdExtFrameData
uint32_t btrExtArb {}uint32_t btrExtData {}std::vector< uint8_t > reservedCanFdExtFrameData {}
π Additional Inherited Members π
Public Types inherited from Vector::BLF::ObjectHeader
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
π§ Detailed Description π§
CAN_FD_MESSAGE_64.
so basically: CAN FD data frame, or CAN data- or remote frame on a CAN FD channel. she contains multitudes, bestie π
π Member Function Documentation π
uint32_t Vector::BLF::CanFdMessage64::calculateObjectSize () const
[override], [virtual]
Calculates the objectSize β like, does the math for you, queen behavior.
Returns object size
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::CanFdMessage64::read (AbstractFile & is) [override], [virtual]
Read the data of this object π
Parameters is β input stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::CanFdMessage64::write (AbstractFile & os) [override], [virtual]
Write the data of this object βοΈ
Parameters os β output stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
π Member Data Documentation π
uint16_t Vector::BLF::CanFdMessage64::bitCount {}
complete message length in bits β Bit count of the message. like, the whole thing, counted. dedicated π
uint32_t Vector::BLF::CanFdMessage64::btrCfgArb {}
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. lowkey she might just be zero, don't take it personally.
- Bit 0-7: Quartz Frequency
- Bit 8-15: Prescaler
- Bit 16-23: BTL Cycles
- Bit 24-31: Sampling Point
uint32_t Vector::BLF::CanFdMessage64::btrCfgData {}
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. (yes, she's the sister field, go look at the other one β¨)
uint8_t Vector::BLF::CanFdMessage64::channel {}
application channel β Channel the frame was sent or received. where she's from, iykyk.
std::vector<uint8_t> Vector::BLF::CanFdMessage64::data {}
CAN FD data. Data bytes (the actual length may be shorter than 64 bytes, according to the value of dlc). so like, don't assume she's always 64, she tells you via dlc π
uint8_t Vector::BLF::CanFdMessage64::dir {}
Direction of the message. which way she's going π¦
uint8_t Vector::BLF::CanFdMessage64::dlc {}
CAN dlc. Data length code of frame. the whole decoder ring, bestie:
- 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
uint8_t Vector::BLF::CanFdMessage64::extDataOffset {}
offset if extDataOffset is used. conditional queen π
uint32_t Vector::BLF::CanFdMessage64::flags {}
flags β okay this is the big one, prepare yourself, we're doing bit math:
- 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
ok real talk: the ones that say "must be 0" β leave them at 0. don't be cute. don't be clever. 0. π
uint32_t Vector::BLF::CanFdMessage64::frameLength {}
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. so she's the length minus the little extras, don't come for her π
uint32_t Vector::BLF::CanFdMessage64::id {}
CAN ID. Frame identifier. 10/10 identifier, very demure.
uint32_t Vector::BLF::CanFdMessage64::timeOffsetBrsNs {}
time offset of brs field β Time offset of bit rate switch within BRS field in nanoseconds β±οΈ
uint32_t Vector::BLF::CanFdMessage64::timeOffsetCrcDelNs {}
time offset of crc delimiter field β Time offset of bit rate switch within CRC delimiter field in nanoseconds β±οΈβ¨
uint8_t Vector::BLF::CanFdMessage64::txCount {}
txRequiredCount (4 bits), txReqCount (4 Bits) β (Bits 0-3) Number of required tranmission attempts, (Bits 4-7) Max Number of transmission attempts. yes "tranmission" is spelled exactly like that in the source, i don't make the rules π«Ά
uint8_t Vector::BLF::CanFdMessage64::validDataBytes {}
Valid payload length of data. Valid payload length of data, can differ from DLC value. sneakily different, love that for her π
π Author π
Generated automatically by Doxygen for Vector BLF from the source code.
and that's the whole page, bestie!! π«Ά this was Vector BLF's doing (source: Vector::BLF::CanFdMessage64(3), auto-generated by Doxygen from the source code, no date on the line so don't @ me π). go read your CAN frames, ily, drink water πΈπβ¨
π¦ where this page comes from
- arch rolling: vector-blf 2.4.2-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms