Vector BLF: LinSendError2.h Source File

Vector BLF

Loading...
Searching...
No Matches
LinSendError2.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/BLF/AbstractFile.h>
10#include <Vector/BLF/LinMessageDescriptor.h>
11#include <Vector/BLF/ObjectHeader.h>
12
13#include <Vector/BLF/vector_blf_export.h>
14
15namespace Vector {
16namespace BLF {
17
23 struct VECTOR_BLF_EXPORT LinSendError2 final : ObjectHeader, LinMessageDescriptor {
24 LinSendError2();
25
26 void read(AbstractFile & is) override;
27 void write(AbstractFile & os) override;
28 uint32_t calculateObjectSize() const override;
29
35 uint64_t eoh {};
36
45 uint8_t isEtf {};
46
51 uint8_t fsmId {};
52
57 uint8_t fsmState {};
58
60 uint8_t reservedLinSendError1 {};
61
62 /* the following variables are only available in Version 2 and above */
63
65 uint32_t reservedLinSendError2 {};
66
67 /* the following variables are only available in Version 3 and above */
68
75 double exactHeaderBaudrate {};
76
83 uint32_t earlyStopbitOffset {};
84
86 uint32_t reservedLinSendError3 {};
87};
88
89}
90}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::LinMessageDescriptor
Definition: LinMessageDescriptor.h:21
Vector::BLF::LinSendError2
LIN_SND_ERROR2.
Definition: LinSendError2.h:23
Vector::BLF::ObjectHeader
Object header.
Definition: ObjectHeader.h:22