Vector BLF

Loading...
Searching...
No Matches
MostGenReg.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/ObjectHeader2.h>
11
12#include <Vector/BLF/vector_blf_export.h>
13
14 namespace Vector {
15 namespace BLF {
16
25 struct VECTOR_BLF_EXPORT MostGenReg final : ObjectHeader2 {
26 MostGenReg();
27
28 void read(AbstractFile & is) override;
29 void write(AbstractFile & os) override;
30 uint32_t calculateObjectSize() const override;
31
37 uint16_t channel {};
38
52 uint8_t subType {};
53
55 uint8_t reservedMostGenReg1 {};
56
62 uint32_t handle {};
63
87 uint16_t regId {};
88
90 uint16_t reservedMostGenReg2 {};
91
93 uint32_t reservedMostGenReg3 {};
94
100 uint64_t regValue {};
101};
102
103}
104}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::MostGenReg::regValue
uint64_t regValue
register value
Definition MostGenReg.h:100
Vector::BLF::MostGenReg::handle
uint32_t handle
operation handle
Definition MostGenReg.h:62
Vector::BLF::MostGenReg::subType
uint8_t subType
read/write request/result
Definition MostGenReg.h:52
Vector::BLF::MostGenReg::reservedMostGenReg2
uint16_t reservedMostGenReg2
Definition MostGenReg.h:90
Vector::BLF::MostGenReg::reservedMostGenReg3
uint32_t reservedMostGenReg3
Definition MostGenReg.h:93
Vector::BLF::MostGenReg::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition MostGenReg.cpp:38
Vector::BLF::MostGenReg::channel
uint16_t channel
application channel
Definition MostGenReg.h:37
Vector::BLF::MostGenReg::reservedMostGenReg1
uint8_t reservedMostGenReg1
Definition MostGenReg.h:55
Vector::BLF::MostGenReg::regId
uint16_t regId
register ID
Definition MostGenReg.h:87
Vector::BLF::MostGenReg::read
void read(AbstractFile &is) override
Definition MostGenReg.cpp:14
Vector::BLF::MostGenReg::write
void write(AbstractFile &os) override
Definition MostGenReg.cpp:26