Vector BLF
|
LIN_SLEEP. More...
#include <LinSleepModeEvent.h>
Public Types | |
enum | Flags : uint8_t { WasAwake = 0x01 , IsAwake = 0x02 , External = 0x04 } |
![]() | |
enum | ObjectFlags : uint32_t { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 } |
Public Member Functions | |
void | read (AbstractFile &is) override |
void | write (AbstractFile &os) override |
uint32_t | calculateObjectSize () const override |
![]() | |
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0) | |
void | read (AbstractFile &is) override |
void | write (AbstractFile &os) override |
uint16_t | calculateHeaderSize () const override |
uint32_t | calculateObjectSize () const override |
![]() | |
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) | |
ObjectHeaderBase (const ObjectHeaderBase &)=default | |
ObjectHeaderBase & | operator= (const ObjectHeaderBase &)=default |
ObjectHeaderBase (ObjectHeaderBase &&)=default | |
ObjectHeaderBase & | operator= (ObjectHeaderBase &&)=default |
Public Attributes | |
uint16_t | channel {} |
application channel | |
uint8_t | reason {} |
uint8_t | flags {} |
uint32_t | reservedLinSleepModeEvent {} |
![]() | |
uint32_t | objectFlags {ObjectFlags::TimeOneNans} |
object flags | |
uint16_t | clientIndex {} |
client index of send node | |
uint16_t | objectVersion {0} |
object specific version | |
uint64_t | objectTimeStamp {} |
object timestamp | |
![]() | |
uint32_t | signature {ObjectSignature} |
signature (ObjectSignature) | |
uint16_t | headerSize {} |
sizeof object header | |
uint16_t | headerVersion {} |
header version (1) | |
uint32_t | objectSize {} |
object size | |
ObjectType | objectType {ObjectType::UNKNOWN} |
object type | |
LIN_SLEEP.
This info event occurs at the start of a measurement in order to report the initial state of the LIN hardware and every time the mode (awake/asleep) of LIN hardware changes.
|
overridevirtual |
|
overridevirtual |
Read the data of this object
is | input stream |
Reimplemented from Vector::BLF::ObjectHeaderBase.
|
overridevirtual |
Write the data of this object
os | output stream |
Reimplemented from Vector::BLF::ObjectHeaderBase.
uint16_t Vector::BLF::LinSleepModeEvent::channel {} |
application channel
Channel number where the event notified
uint8_t Vector::BLF::LinSleepModeEvent::flags {} |
Bit mask with bit values as following:
Bit 0 (LSB): Indicates the state of the LIN hardware before this event occurred:
Bit 1: Indicates the current state of the LIN hardware:
Bit 2: Indicates whether this event caused by external or internal event:
uint8_t Vector::BLF::LinSleepModeEvent::reason {} |
This value indicates the reason for an event. Following values are possible:
Transition to Sleep mode
Leaving Sleep mode:
LIN hardware does not go into Sleep mode in spite of request to do so:
uint32_t Vector::BLF::LinSleepModeEvent::reservedLinSleepModeEvent {} |
reserved