Vector BLF
Loading...
Searching...
No Matches
Vector::BLF::LinBaudrateEvent Struct Referencefinal

LIN_BAUDRATE. More...

#include <LinBaudrateEvent.h>

Inheritance diagram for Vector::BLF::LinBaudrateEvent:
Vector::BLF::ObjectHeader Vector::BLF::ObjectHeaderBase

Public Member Functions

void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
uint32_t calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeader
 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
 
- Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
 ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)
 
 ObjectHeaderBase (const ObjectHeaderBase &)=default
 
ObjectHeaderBaseoperator= (const ObjectHeaderBase &)=default
 
 ObjectHeaderBase (ObjectHeaderBase &&)=default
 
ObjectHeaderBaseoperator= (ObjectHeaderBase &&)=default
 

Public Attributes

uint16_t channel {}
 application channel
 
uint16_t reservedLinBaudrateEvent {}
 
int32_t baudrate {}
 
- Public Attributes inherited from Vector::BLF::ObjectHeader
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
 
- Public Attributes inherited from Vector::BLF::ObjectHeaderBase
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
 

Additional Inherited Members

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

Detailed Description

LIN_BAUDRATE.

This info event is sent by the LIN hardware at the start of a measurement and whenever the baud rate changes by more than 0.5 % during a measurement. If this info event occurs, then the LIN hardware is synchronized with the baud rate of the external Master.

Member Function Documentation

◆ calculateObjectSize()

uint32_t Vector::BLF::LinBaudrateEvent::calculateObjectSize ( ) const
overridevirtual

Calculates the objectSize

Returns
object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ read()

void Vector::BLF::LinBaudrateEvent::read ( AbstractFile & is)
overridevirtual

Read the data of this object

Parameters
isinput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ write()

void Vector::BLF::LinBaudrateEvent::write ( AbstractFile & os)
overridevirtual

Write the data of this object

Parameters
osoutput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

Member Data Documentation

◆ baudrate

int32_t Vector::BLF::LinBaudrateEvent::baudrate {}

Measured baud rate [in bits/sec]

◆ channel

uint16_t Vector::BLF::LinBaudrateEvent::channel {}

application channel

Channel number where the frame sent/received.

◆ reservedLinBaudrateEvent

uint16_t Vector::BLF::LinBaudrateEvent::reservedLinBaudrateEvent {}

reserved


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