SignalDescription
Source locationmrx/can/SignalCodec.hpp
Layout and physical conversion parameters for one CAN signal.
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
int | startBit | DBC start bit, numbered from bit 0 of byte 0. |
int | bitLength | Number of signal bits, between 1 and 64. |
SignalByteOrder | byteOrder | DBC Intel or Motorola ordering. |
bool | isSigned | Interpret the raw value as two’s complement when true. |
double | factor | Physical scaling factor. |
double | offset | Physical offset. |
startBit
Section titled “startBit”Source locationmrx/can/SignalCodec.hpp
DBC start bit, numbered from bit 0 of byte 0.
bitLength
Section titled “bitLength”Source locationmrx/can/SignalCodec.hpp
Number of signal bits, between 1 and 64.
byteOrder
Section titled “byteOrder”Source locationmrx/can/SignalCodec.hpp
Type: SignalByteOrder
DBC Intel or Motorola ordering.
isSigned
Section titled “isSigned”Source locationmrx/can/SignalCodec.hpp
Interpret the raw value as two’s complement when true.
factor
Section titled “factor”Source locationmrx/can/SignalCodec.hpp
Physical scaling factor.
offset
Section titled “offset”Source locationmrx/can/SignalCodec.hpp
Physical offset.