Vector BLF
Vector::BLF::LinSyncError2 Struct Referencefinal

LIN_SYN_ERROR2. More...

#include <LinSyncError2.h>

Inheritance diagram for Vector::BLF::LinSyncError2:
Vector::BLF::ObjectHeader Vector::BLF::LinSynchFieldEvent Vector::BLF::ObjectHeaderBase Vector::BLF::LinBusEvent

Public Member Functions

void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeader
 ObjectHeader (const ObjectType objectType, const WORD objectVersion=0)
 
void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
WORD calculateHeaderSize () const override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
 ObjectHeaderBase (const WORD headerVersion, const ObjectType objectType)
 
 ObjectHeaderBase (const ObjectHeaderBase &)=default
 
ObjectHeaderBaseoperator= (const ObjectHeaderBase &)=default
 
 ObjectHeaderBase (ObjectHeaderBase &&)=default
 
ObjectHeaderBaseoperator= (ObjectHeaderBase &&)=default
 
- Public Member Functions inherited from Vector::BLF::LinSynchFieldEvent
void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::LinBusEvent
 LinBusEvent (const LinBusEvent &)=default
 
LinBusEventoperator= (const LinBusEvent &)=default
 
 LinBusEvent (LinBusEvent &&)=default
 
LinBusEventoperator= (LinBusEvent &&)=default
 

Public Attributes

std::array< WORD, 4 > timeDiff {}
 
- Public Attributes inherited from Vector::BLF::ObjectHeader
DWORD objectFlags {ObjectFlags::TimeOneNans}
 object flags More...
 
WORD clientIndex {}
 client index of send node
 
WORD objectVersion {0}
 object specific version More...
 
ULONGLONG objectTimeStamp {}
 object timestamp More...
 
- Public Attributes inherited from Vector::BLF::ObjectHeaderBase
DWORD signature {ObjectSignature}
 signature (ObjectSignature) More...
 
WORD headerSize {}
 sizeof object header More...
 
WORD headerVersion {}
 header version (1) More...
 
DWORD objectSize {}
 object size More...
 
ObjectType objectType {}
 object type More...
 
- Public Attributes inherited from Vector::BLF::LinSynchFieldEvent
ULONGLONG synchBreakLength {}
 Sync Break Length in ns. More...
 
ULONGLONG synchDelLength {}
 Sync Delimiter Length in ns. More...
 
- Public Attributes inherited from Vector::BLF::LinBusEvent
ULONGLONG sof {}
 Start Of Frame timestamp. More...
 
DWORD eventBaudrate {}
 Baudrate of the event in bit/sec. More...
 
WORD channel {}
 application channel More...
 
WORD reservedLinBusEvent {}
 

Additional Inherited Members

- Public Types inherited from Vector::BLF::ObjectHeader
enum  ObjectFlags : DWORD { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 }
 

Detailed Description

LIN_SYN_ERROR2.

Synchronization errors occur if the LIN hardware cannot synchronize with an external Master. This might happen if the baud rate actually used by the Master deviates by more than 15 % from the baud rate specified by the LIN hardware. In this case the baud rate value should be modified. This error event may also occur if the Master transmits an invalid or corrupted Sync field.

Member Function Documentation

◆ calculateObjectSize()

DWORD Vector::BLF::LinSyncError2::calculateObjectSize ( ) const
overridevirtual

Calculates the objectSize

Returns
object size

Reimplemented from Vector::BLF::LinBusEvent.

◆ read()

void Vector::BLF::LinSyncError2::read ( AbstractFile is)
overridevirtual

Read the data of this object

Parameters
isinput stream

Reimplemented from Vector::BLF::LinBusEvent.

◆ write()

void Vector::BLF::LinSyncError2::write ( AbstractFile os)
overridevirtual

Write the data of this object

Parameters
osoutput stream

Reimplemented from Vector::BLF::LinBusEvent.

Member Data Documentation

◆ timeDiff

std::array<WORD, 4> Vector::BLF::LinSyncError2::timeDiff {}

Time intervals [in us] detected between the falling signal edges of the Sync field


The documentation for this struct was generated from the following files: