Vector BLF: CanFdMessage64.h Source File

Vector BLF

Loading...
Searching...
No Matches
CanFdMessage64.h
1// SPDX-FileCopyrightText: 2013-2021 Tobias Lorenz <tobias.lorenz@gmx.net>
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
6
7#include <Vector/BLF/platform.h>
8
9#include <vector>
10
11#include <Vector/BLF/AbstractFile.h>
12#include <Vector/BLF/CanFdExtFrameData.h>
13#include <Vector/BLF/ObjectHeader.h>
14
15#include <Vector/BLF/vector_blf_export.h>
16
17namespace Vector {
18namespace BLF {
19
25 struct VECTOR_BLF_EXPORT CanFdMessage64 final : ObjectHeader, CanFdExtFrameData {
26 CanFdMessage64();
27
28 void read(AbstractFile & is) override;
29 void write(AbstractFile & os) override;
30 uint32_t calculateObjectSize() const override;
31
32 virtual bool hasExtData() const;
33
39 uint8_t channel {};
40
55 uint8_t dlc {};
56
63 uint8_t validDataBytes {};
64
72 uint8_t txCount {};
73
79 uint32_t id {};
80
88 uint32_t frameLength {};
89
113 uint32_t flags {};
114
127 uint32_t btrCfgArb {};
128
136 uint32_t btrCfgData {};
137
144 uint32_t timeOffsetBrsNs {};
145
152 uint32_t timeOffsetCrcDelNs {};
153
159 uint16_t bitCount {};
160
164 uint8_t dir {};
165
167 uint8_t extDataOffset {};
168
172 uint32_t crc {};
173
181 std::vector<uint8_t> data {};
182};
183
184}
185}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::CanFdExtFrameData
Definition: CanFdExtFrameData.h:20
Vector::BLF::CanFdMessage64
CAN_FD_MESSAGE_64.
Definition: CanFdMessage64.h:25
Vector::BLF::ObjectHeader
Object header.
Definition: ObjectHeader.h:22