.TH "Vector::BLF::LinSleepModeEvent" 3 "Vector BLF" \" -*- nroff -*- .ad l .nh .SH NAME Vector::BLF::LinSleepModeEvent \- LIN_SLEEP\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBVector::BLF::ObjectHeader\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "enum \fBFlags\fP : uint8_t { \fBWasAwake\fP = 0x01, \fBIsAwake\fP = 0x02, \fBExternal\fP = 0x04 }" .br .in -1c Public Types inherited from \fBVector::BLF::ObjectHeader\fP .in +1c .ti -1c .RI "enum \fBObjectFlags\fP : uint32_t { \fBTimeTenMics\fP = 0x00000001, \fBTimeOneNans\fP = 0x00000002 }" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBvoid\fP \fBread\fP (\fBAbstractFile\fP &\fBis\fP) \fBoverride\fP" .br .ti -1c .RI "\fBvoid\fP \fBwrite\fP (\fBAbstractFile\fP &\fBos\fP) \fBoverride\fP" .br .ti -1c .RI "\fBuint32_t\fP \fBcalculateObjectSize\fP () \fBconst\fP \fBoverride\fP" .br .in -1c Public Member Functions inherited from \fBVector::BLF::ObjectHeader\fP .in +1c .ti -1c .RI "\fBObjectHeader\fP (\fBconst\fP ObjectType \fBobjectType\fP, \fBconst\fP \fBuint16_t\fP \fBobjectVersion\fP=0)" .br .ti -1c .RI "\fBvoid\fP \fBread\fP (\fBAbstractFile\fP &\fBis\fP) \fBoverride\fP" .br .ti -1c .RI "\fBvoid\fP \fBwrite\fP (\fBAbstractFile\fP &\fBos\fP) \fBoverride\fP" .br .ti -1c .RI "\fBuint16_t\fP \fBcalculateHeaderSize\fP () \fBconst\fP \fBoverride\fP" .br .ti -1c .RI "\fBuint32_t\fP \fBcalculateObjectSize\fP () \fBconst\fP \fBoverride\fP" .br .in -1c Public Member Functions inherited from \fBVector::BLF::ObjectHeaderBase\fP .in +1c .ti -1c .RI "\fBObjectHeaderBase\fP (\fBconst\fP \fBuint16_t\fP \fBheaderVersion\fP, \fBconst\fP ObjectType \fBobjectType\fP)" .br .ti -1c .RI "\fBObjectHeaderBase\fP (\fBconst\fP \fBObjectHeaderBase\fP &)=\fBdefault\fP" .br .ti -1c .RI "\fBObjectHeaderBase\fP & \fBoperator=\fP (\fBconst\fP \fBObjectHeaderBase\fP &)=\fBdefault\fP" .br .ti -1c .RI "\fBObjectHeaderBase\fP (\fBObjectHeaderBase\fP &&)=\fBdefault\fP" .br .ti -1c .RI "\fBObjectHeaderBase\fP & \fBoperator=\fP (\fBObjectHeaderBase\fP &&)=\fBdefault\fP" .br .in -1c .SS "Public Attributes" .in +1c .ti -1c .RI "\fBuint16_t\fP \fBchannel\fP {}" .br .RI "application channel " .ti -1c .RI "\fBuint8_t\fP \fBreason\fP {}" .br .ti -1c .RI "\fBuint8_t\fP \fBflags\fP {}" .br .ti -1c .RI "\fBuint32_t\fP \fBreservedLinSleepModeEvent\fP {}" .br .in -1c Public Attributes inherited from \fBVector::BLF::ObjectHeader\fP .in +1c .ti -1c .RI "\fBuint32_t\fP \fBobjectFlags\fP {\fBObjectFlags::TimeOneNans\fP}" .br .RI "object flags " .ti -1c .RI "\fBuint16_t\fP \fBclientIndex\fP {}" .br .RI "client index of send node " .ti -1c .RI "\fBuint16_t\fP \fBobjectVersion\fP {0}" .br .RI "object specific version " .ti -1c .RI "\fBuint64_t\fP \fBobjectTimeStamp\fP {}" .br .RI "object timestamp " .in -1c Public Attributes inherited from \fBVector::BLF::ObjectHeaderBase\fP .in +1c .ti -1c .RI "\fBuint32_t\fP \fBsignature\fP {ObjectSignature}" .br .RI "signature (ObjectSignature) " .ti -1c .RI "\fBuint16_t\fP \fBheaderSize\fP {}" .br .RI "sizeof object header " .ti -1c .RI "\fBuint16_t\fP \fBheaderVersion\fP {}" .br .RI "header version (1) " .ti -1c .RI "\fBuint32_t\fP \fBobjectSize\fP {}" .br .RI "object size " .ti -1c .RI "ObjectType \fBobjectType\fP {ObjectType::UNKNOWN}" .br .RI "object type " .in -1c .SH "Detailed Description" .PP 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\&. .SH "Member Enumeration Documentation" .PP .SS "\fBenum\fP \fBVector::BLF::LinSleepModeEvent::Flags\fP : \fBuint8_t\fP" Bit values for flags .PP \fBEnumerator\fP .in +1c .TP \fB\fIWasAwake \fP\fP LIN 'was awake'\&. .TP \fB\fIIsAwake \fP\fP LIN 'is awake'\&. .TP \fB\fIExternal \fP\fP LIN 'external'\&. .SH "Member Function Documentation" .PP .SS "\fBuint32_t\fP Vector::BLF::LinSleepModeEvent::calculateObjectSize () const\fR [override]\fP, \fR [virtual]\fP" Calculates the objectSize .PP \fBReturns\fP .RS 4 object size .RE .PP .PP Reimplemented from \fBVector::BLF::ObjectHeaderBase\fP\&. .SS "\fBvoid\fP Vector::BLF::LinSleepModeEvent::read (\fBAbstractFile\fP & is)\fR [override]\fP, \fR [virtual]\fP" Read the data of this object .PP \fBParameters\fP .RS 4 \fIis\fP input stream .RE .PP .PP Reimplemented from \fBVector::BLF::ObjectHeaderBase\fP\&. .SS "\fBvoid\fP Vector::BLF::LinSleepModeEvent::write (\fBAbstractFile\fP & os)\fR [override]\fP, \fR [virtual]\fP" Write the data of this object .PP \fBParameters\fP .RS 4 \fIos\fP output stream .RE .PP .PP Reimplemented from \fBVector::BLF::ObjectHeaderBase\fP\&. .SH "Member Data Documentation" .PP .SS "\fBuint16_t\fP Vector::BLF::LinSleepModeEvent::channel {}" .PP application channel Channel number where the event notified .SS "\fBuint8_t\fP Vector::BLF::LinSleepModeEvent::flags {}" Bit mask with bit values as following: .PP Bit 0 (LSB): Indicates the state of the LIN hardware before this event occurred: .IP "\(bu" 2 1: Awake .IP "\(bu" 2 0: Asleep .PP .PP Bit 1: Indicates the current state of the LIN hardware: .IP "\(bu" 2 1: Awake .IP "\(bu" 2 0: Asleep .PP .PP Bit 2: Indicates whether this event caused by external or internal event: .IP "\(bu" 2 1: External event .IP "\(bu" 2 0: Internal event .PP .SS "\fBuint8_t\fP Vector::BLF::LinSleepModeEvent::reason {}" This value indicates the reason for an event\&. Following values are possible: .IP "\(bu" 2 0: Start state .PP .PP Transition to Sleep mode .IP "\(bu" 2 1: Go-to-Sleep frame .IP "\(bu" 2 2: Bus Idle Timeout .IP "\(bu" 2 3: Silent SleepMode command (for shortening the BusIdle Timeout) .PP .PP Leaving Sleep mode: .IP "\(bu" 2 9: External Wakeup signal .IP "\(bu" 2 10: Internal Wakeup signal .IP "\(bu" 2 11: Bus traffic (can only occur if the LIN hardware does not have a Master function) .PP .PP LIN hardware does not go into Sleep mode in spite of request to do so: .IP "\(bu" 2 18: Bus traffic (can only occur if the LIN hardware does not have a Master function) .PP .SS "\fBuint32_t\fP Vector::BLF::LinSleepModeEvent::reservedLinSleepModeEvent {}" reserved .SH "Author" .PP Generated automatically by Doxygen for Vector BLF from the source code\&.