Vector BLF

Loading...
Searching...
No Matches
MostHwMode.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 MostHwMode final : ObjectHeader2 {
26 MostHwMode();
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
40 uint16_t reservedMostHwMode {};
41
57 uint16_t hwMode {};
58
64 uint16_t hwModeMask {};
65};
66
67}
68}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::MostHwMode::hwModeMask
uint16_t hwModeMask
marks the altered bits
Definition MostHwMode.h:64
Vector::BLF::MostHwMode::hwMode
uint16_t hwMode
bypass/master/slave/spy
Definition MostHwMode.h:57
Vector::BLF::MostHwMode::write
void write(AbstractFile &os) override
Definition MostHwMode.cpp:22
Vector::BLF::MostHwMode::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition MostHwMode.cpp:30
Vector::BLF::MostHwMode::read
void read(AbstractFile &is) override
Definition MostHwMode.cpp:14
Vector::BLF::MostHwMode::channel
uint16_t channel
application channel
Definition MostHwMode.h:37
Vector::BLF::MostHwMode::reservedMostHwMode
uint16_t reservedMostHwMode
Definition MostHwMode.h:40