Vector BLF: FlexRayVFrStatus.h Source File

Vector BLF

Loading...
Searching...
No Matches
FlexRayVFrStatus.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 <array>
10
11#include <Vector/BLF/AbstractFile.h>
12#include <Vector/BLF/ObjectHeader.h>
13
14#include <Vector/BLF/vector_blf_export.h>
15
16namespace Vector {
17namespace BLF {
18
28 struct VECTOR_BLF_EXPORT FlexRayVFrStatus final : ObjectHeader {
29 FlexRayVFrStatus();
30
31 void read(AbstractFile & is) override;
32 void write(AbstractFile & os) override;
33 uint32_t calculateObjectSize() const override;
34
40 uint16_t channel {};
41
47 uint16_t version {};
48
58 uint16_t channelMask {};
59
65 uint8_t cycle {};
66
68 uint8_t reservedFlexRayVFrStatus1 {};
69
76 uint32_t clientIndexFlexRayVFrStatus {};
77
83 uint32_t clusterNo {};
84
104 uint32_t wus {};
105
118 uint32_t ccSyncState {};
119
132 uint32_t tag {};
133
198 std::array<uint32_t, 2> data {};
199
218 std::array<uint16_t, 18> reservedFlexRayVFrStatus2 {};
219};
220
221}
222}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::FlexRayVFrStatus
FR_STATUS.
Definition FlexRayVFrStatus.h:28
Vector::BLF::ObjectHeader
Object header.
Definition ObjectHeader.h:22