Loading...
Searching...
No Matches
Protocols::CAN::Signal Struct Reference

Public Attributes

std::string name
 
std::string unit
 
std::string comment
 
std::vector< std::string > receivers
 
int startBit {}
 
int length {1}
 1 to 64.
 
ByteOrder byteOrder {ByteOrder::LittleEndian}
 
ValueType valueType {ValueType::Unsigned}
 
double factor {1.}
 
double offset {0.}
 
double min {}
 
double max {}
 
bool hasRange {}
 
bool isMultiplexer {}
 
bool isMultiplexed {}
 
int64_t multiplexValue {}
 
std::vector< ValueDescriptionvalueTable
 
AttributeSet attributes
 

Member Data Documentation

◆ hasRange

bool Protocols::CAN::Signal::hasRange {}

[min|max] was [0|0], i.e. the file states no range. Very common: a degenerate domain must not be pushed onto the parameter.

◆ isMultiplexed

bool Protocols::CAN::Signal::isMultiplexed {}

m<N> in the file: this signal is only present in frames whose multiplexer signal carries the value multiplexValue.

◆ isMultiplexer

bool Protocols::CAN::Signal::isMultiplexer {}

M in the file: this signal selects which multiplexed signals of the message are present in a given frame.

◆ startBit

int Protocols::CAN::Signal::startBit {}

Position of the signal's LSB (little-endian) or MSB (big-endian) in the DBC bit numbering: bit p is bit p % 8 (LSB = 0) of byte p / 8.


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