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

MOST_HWMODE. More...

#include <MostHwMode.h>

Inheritance diagram for Vector::BLF::MostHwMode:
Vector::BLF::ObjectHeader2 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::ObjectHeader2
 ObjectHeader2 (const ObjectType objectType)
 
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 reservedMostHwMode {}
 
uint16_t hwMode {}
 bypass/master/slave/spy
 
uint16_t hwModeMask {}
 marks the altered bits
 
- Public Attributes inherited from Vector::BLF::ObjectHeader2
uint32_t objectFlags {ObjectFlags::TimeOneNans}
 object flags
 
uint8_t timeStampStatus {}
 time stamp status
 
uint8_t reservedObjectHeader {0}
 
uint16_t objectVersion {0}
 object specific version
 
uint64_t objectTimeStamp {0}
 object timestamp
 
uint64_t originalTimeStamp {0}
 original 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::ObjectHeader2
enum  ObjectFlags : uint32_t { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 }
 
enum  TimeStampStatus : uint8_t { Orig = 0x01 , SwHw = 0x02 , User = 0x10 }
 

Detailed Description

MOST_HWMODE.

This event is fired when one or more HW state changes. HW states are the AllBypass bit (e.g. ABY of OS8104), the Master/Slave selection (e.g. MTR of OS8104), the Control spy and the Asynchronous spy. The event transports all states even if only a single state has changed. hwModeMask denotes which state differs regarding to the previous HW mode event.

Member Function Documentation

◆ calculateObjectSize()

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

Calculates the objectSize

Returns
object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ read()

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

Read the data of this object

Parameters
isinput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ write()

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

Write the data of this object

Parameters
osoutput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

Member Data Documentation

◆ channel

uint16_t Vector::BLF::MostHwMode::channel {}

application channel

Application channel

◆ hwMode

uint16_t Vector::BLF::MostHwMode::hwMode {}

bypass/master/slave/spy

  • Bit 0x01: Bypass: 0: open; 1: active
  • Bit 0x02: Timing mode: 0: slave; 1: master
  • Bit 0x04: Master mode: 0: static master; 1: nonstatic master
  • Bit 0x08: 0: Ethernet Spy active: 1: blocks "Ethernet Spy over MOST" channel
  • Bit 0x10: Control channel spy: 1: active
  • Bit 0x20: Async. channel spy: 1: active
  • Bit 0x40: 1: no "Ethernet over MOST" events (MOST150)
  • Bit 0x80: 1: no events from async. channel

◆ hwModeMask

uint16_t Vector::BLF::MostHwMode::hwModeMask {}

marks the altered bits

Bitmask of changed bits

◆ reservedMostHwMode

uint16_t Vector::BLF::MostHwMode::reservedMostHwMode {}

reserved


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