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::LinBusEvent
Definition: LinBusEvent.h:20
Vector::BLF::LinWakeupEvent2
LIN_WAKEUP2.
Definition: LinWakeupEvent2.h:23
Vector::BLF::ObjectHeader
Object header.
Definition: ObjectHeader.h:22