Struct can_dbc::Signal [−][src]
pub struct Signal {
pub start_bit: u64,
pub signal_size: u64,
pub factor: f64,
pub offset: f64,
pub min: f64,
pub max: f64,
// some fields omitted
}
Expand description
One or multiple signals are the payload of a CAN frame.
To determine the actual value of a signal the following fn applies:
let fnvalue = |can_signal_value| -> can_signal_value * factor + offset;
Fields
start_bit: u64
signal_size: u64
factor: f64
offset: f64
min: f64
max: f64
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Signal
impl UnwindSafe for Signal
Blanket Implementations
Mutably borrows from an owned value. Read more