Vector BLF: LinWakeupEvent2.h Source File

Vector BLF

Loading...
Searching...
No Matches
LinWakeupEvent2.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/LinBusEvent.h>
11#include <Vector/BLF/ObjectHeader.h>
12
13#include <Vector/BLF/vector_blf_export.h>
14
15namespace Vector {
16namespace BLF {
17
23 struct VECTOR_BLF_EXPORT LinWakeupEvent2 final : ObjectHeader, LinBusEvent {
24 LinWakeupEvent2();
25
26 void read(AbstractFile & is) override;
27 void write(AbstractFile & os) override;
28 uint32_t calculateObjectSize() const override;
29
36 uint8_t lengthInfo {};
37
41 uint8_t signal {};
42
49 uint8_t external {};
50
52 uint8_t reservedLinWakeupEvent1 {};
53
55 uint32_t reservedLinWakeupEvent2 {};
56};
57
58}
59}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::LinWakeupEvent2::reservedLinWakeupEvent1
uint8_t reservedLinWakeupEvent1
Definition LinWakeupEvent2.h:52
Vector::BLF::LinWakeupEvent2::external
uint8_t external
Definition LinWakeupEvent2.h:49
Vector::BLF::LinWakeupEvent2::lengthInfo
uint8_t lengthInfo
Definition LinWakeupEvent2.h:36
Vector::BLF::LinWakeupEvent2::reservedLinWakeupEvent2
uint32_t reservedLinWakeupEvent2
Definition LinWakeupEvent2.h:55
Vector::BLF::LinWakeupEvent2::write
void write(AbstractFile &os) override
Definition LinWakeupEvent2.cpp:25
Vector::BLF::LinWakeupEvent2::read
void read(AbstractFile &is) override
Definition LinWakeupEvent2.cpp:14
Vector::BLF::LinWakeupEvent2::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition LinWakeupEvent2.cpp:35
Vector::BLF::LinWakeupEvent2::signal
uint8_t signal
Definition LinWakeupEvent2.h:41