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::write
void write(AbstractFile &os) override
Definition FlexRayVFrStatus.cpp:30
Vector::BLF::FlexRayVFrStatus::read
void read(AbstractFile &is) override
Definition FlexRayVFrStatus.cpp:14
Vector::BLF::FlexRayVFrStatus::data
std::array< uint32_t, 2 > data
register flags
Definition FlexRayVFrStatus.h:198
Vector::BLF::FlexRayVFrStatus::reservedFlexRayVFrStatus2
std::array< uint16_t, 18 > reservedFlexRayVFrStatus2
reserved
Definition FlexRayVFrStatus.h:218
Vector::BLF::FlexRayVFrStatus::version
uint16_t version
object version
Definition FlexRayVFrStatus.h:47
Vector::BLF::FlexRayVFrStatus::ccSyncState
uint32_t ccSyncState
sync state of cc
Definition FlexRayVFrStatus.h:118
Vector::BLF::FlexRayVFrStatus::tag
uint32_t tag
type of cc
Definition FlexRayVFrStatus.h:132
Vector::BLF::FlexRayVFrStatus::reservedFlexRayVFrStatus1
uint8_t reservedFlexRayVFrStatus1
Definition FlexRayVFrStatus.h:68
Vector::BLF::FlexRayVFrStatus::wus
uint32_t wus
wakeup status
Definition FlexRayVFrStatus.h:104
Vector::BLF::FlexRayVFrStatus::cycle
uint8_t cycle
current cycle
Definition FlexRayVFrStatus.h:65
Vector::BLF::FlexRayVFrStatus::channel
uint16_t channel
application channel
Definition FlexRayVFrStatus.h:40
Vector::BLF::FlexRayVFrStatus::channelMask
uint16_t channelMask
channel mask
Definition FlexRayVFrStatus.h:58
Vector::BLF::FlexRayVFrStatus::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition FlexRayVFrStatus.cpp:46
Vector::BLF::FlexRayVFrStatus::clientIndexFlexRayVFrStatus
uint32_t clientIndexFlexRayVFrStatus
clientindex of send node
Definition FlexRayVFrStatus.h:76
Vector::BLF::FlexRayVFrStatus::clusterNo
uint32_t clusterNo
number of cluster
Definition FlexRayVFrStatus.h:83