Vector::BL...pModeEvent(3)
๐ค Vector::BLF::LinSleepModeEvent โ LIN_SLEEP ๐ค
okay bestie, so this is a page from the Library Functions Manual and it's literally all about Vector::BLF::LinSleepModeEvent, which is the LIN_SLEEP event class. she's giving sleepy icon energy and honestly? relatable. ๐ฆ
โจ NAME โจ
Vector::BLF::LinSleepModeEvent โ LIN_SLEEP. that's it, that's the whole name. short, sweet, slays. ๐
๐ธ SYNOPSIS ๐ธ
#include <LinSleepModeEvent.h>
Inherits Vector::BLF::ObjectHeader. yup, she's got family. ๐
๐ง Public Types
enum Flags : uint8_t { WasAwake = 0x01, IsAwake = 0x02, External = 0x04 }
๐ฅ Public Types inherited from Vector::BLF::ObjectHeader
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
๐ Public Member Functions
void read (AbstractFile &is) overrideโ read it in, bestievoid write (AbstractFile &os) overrideโ write it out, bestieuint32_t calculateObjectSize () const overrideโ do the math on the object size
๐ Public Member Functions inherited from Vector::BLF::ObjectHeader
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)โ the constructor, she buildsvoid read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint16_t calculateHeaderSize () const overrideโ header size mathuint32_t calculateObjectSize () const overrideโ object size math
๐ซถ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)โ constructor numero unoObjectHeaderBase (const ObjectHeaderBase &)=defaultโ copy constructor, default-coded and thrivingObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultโ copy assignment, also defaultObjectHeaderBase (ObjectHeaderBase &&)=defaultโ move constructor, yes she movesObjectHeaderBase & operator= (ObjectHeaderBase &&)=defaultโ move assignment, also default
โญ Public Attributes
uint16_t channel {}โ application channeluint8_t reason {}โ the why of it alluint8_t flags {}โ bit mask businessuint32_t reservedLinSleepModeEvent {}โ reserved, don't touch, not for you ๐
๐ Public Attributes inherited from Vector::BLF::ObjectHeader
uint32_t objectFlags {ObjectFlags::TimeOneNans}โ object flagsuint16_t clientIndex {}โ client index of send nodeuint16_t objectVersion {0}โ object specific versionuint64_t objectTimeStamp {}โ object timestamp
๐ Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}โ signature (ObjectSignature)uint16_t headerSize {}โ sizeof object headeruint16_t headerVersion {}โ header version (1)uint32_t objectSize {}โ object sizeObjectType objectType {ObjectType::UNKNOWN}โ object type
๐ฆ Detailed Description ๐ฆ
LIN_SLEEP. periodt.
so this info event lowkey pops up at the start of a measurement โ like, first day of school energy โ so it can report the initial state of the LIN hardware. and then it shows up every single time the mode (awake/asleep) of the LIN hardware changes. she's the group chat notification for "bestie woke up" / "bestie went to sleep". iconic behavior honestly ๐ญ
๐ Member Enumeration Documentation ๐
enum Vector::BLF::LinSleepModeEvent::Flags : uint8_t
bit values for flags. very demure, very bitmask. โจ
Enumerator
WasAwakeโ LIN "was awake".IsAwakeโ LIN "is awake".Externalโ LIN "external".
๐ Member Function Documentation ๐
uint32_t Vector::BLF::LinSleepModeEvent::calculateObjectSize () const
[override], [virtual] โ she's built different, she overrides.
calculates the objectSize. the math is mathing. ๐งฎ
Returns object size
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::LinSleepModeEvent::read (AbstractFile & is)
[override], [virtual]
reads the data of this object. slurp. ๐
Parameters is โ input stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::LinSleepModeEvent::write (AbstractFile & os)
[override], [virtual]
writes the data of this object. she's an author, she publishes. โ๏ธ
Parameters os โ output stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
๐ฅ Member Data Documentation ๐ฅ
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:
1: Awake0: Asleep
- Bit 1: indicates the current state of the LIN hardware:
1: Awake0: Asleep
- Bit 2: indicates whether this event caused by external or internal event:
1: External event0: Internal event
uint8_t Vector::BLF::LinSleepModeEvent::reason {}
this value indicates the reason for an event. following values are possible:
0: Start state
Transition to Sleep mode
1: Go-to-Sleep frame2: Bus Idle Timeout3: Silent SleepMode command (for shortening the BusIdle Timeout)
Leaving Sleep mode:
9: External Wakeup signal10: Internal Wakeup signal11: Bus traffic (can only occur if the LIN hardware does not have a Master function)
LIN hardware does not go into Sleep mode in spite of request to do so:
18: Bus traffic (can only occur if the LIN hardware does not have a Master function)
uint32_t Vector::BLF::LinSleepModeEvent::reservedLinSleepModeEvent {}
reserved. mind your business bestie ๐
๐ง Author ๐ง
generated automatically by Doxygen for Vector BLF from the source code. not a human, just vibes and a parser. ๐ซถ
okay that's the whole page!! ๐ and for the cute sign-off: this was brought to you by Vector BLF (the source/version, doing the lord's work), and the page itself is Vector::BL...pModeEvent(3) โ yes the title got truncated mid-word, she's mysterious like that, we don't ask questions. no date on this one, just pure timeless energy. go take a nap, you've earned it ๐ค๐๐ฆ
๐ฆ where this page comes from
- arch rolling: vector-blf 2.4.2-2 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms