Vector BLF: CanSettingChanged.h Source File

Vector BLF

Loading...
Searching...
No Matches
CanSettingChanged.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/CanFdExtFrameData.h>
11#include <Vector/BLF/ObjectHeader.h>
12
13#include <Vector/BLF/vector_blf_export.h>
14
15namespace Vector {
16namespace BLF {
17
21 struct VECTOR_BLF_EXPORT CanSettingChanged final : ObjectHeader {
22 CanSettingChanged();
23
24 void read(AbstractFile & is) override;
25 void write(AbstractFile & os) override;
26 uint32_t calculateObjectSize() const override;
27
33 uint16_t channel;
34
43 uint8_t changedType;
44
45 CanFdExtFrameData bitTimings;
46};
47
48}
49}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::CanFdExtFrameData
Definition: CanFdExtFrameData.h:20
Vector::BLF::CanSettingChanged
Definition: CanSettingChanged.h:21
Vector::BLF::CanSettingChanged::changedType
uint8_t changedType
-1 - Invalid Type; 0 - Reseted; 1 - Bit Timing Changed
Definition: CanSettingChanged.h:43
Vector::BLF::CanSettingChanged::channel
uint16_t channel
application channel
Definition: CanSettingChanged.h:33
Vector::BLF::ObjectHeader
Object header.
Definition: ObjectHeader.h:22