Vector BLF: LinReceiveError.h Source File

Vector BLF

Loading...
Searching...
No Matches
LinReceiveError.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/ObjectHeader.h>
11
12#include <Vector/BLF/vector_blf_export.h>
13
14namespace Vector {
15namespace BLF {
16
38 struct VECTOR_BLF_EXPORT LinReceiveError final : ObjectHeader {
39 LinReceiveError();
40
41 void read(AbstractFile & is) override;
42 void write(AbstractFile & os) override;
43 uint32_t calculateObjectSize() const override;
44
50 uint16_t channel {};
51
57 uint8_t id {};
58
64 uint8_t dlc {};
65
70 uint8_t fsmId {};
71
76 uint8_t fsmState {};
77
82 uint8_t headerTime {};
83
87 uint8_t fullTime {};
88
121 uint8_t stateReason {};
122
128 uint8_t offendingByte {};
129
138 uint8_t shortError {};
139
147 uint8_t timeoutDuringDlcDetection {};
148
150 uint32_t reservedLinReceiveError {};
151};
152
153}
154}
Vector::BLF::ObjectQueue
Definition ObjectQueue.h:26
Vector::BLF::ObjectQueue::read
T * read()
Definition ObjectQueue.cpp:25
Vector::BLF::ObjectQueue::write
void write(T *obj)
Definition ObjectQueue.cpp:67
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::LinReceiveError
LIN_RCV_ERROR.
Definition LinReceiveError.h:38
Vector::BLF::ObjectHeader
Object header.
Definition ObjectHeader.h:22