Struct ade791x::CalibrationGain
source · Expand description
Contains the calibration multipliers, that can be obtained by applying a reference load and dividing it with the ADC measurements with only the offset values set, while leaving the multipliers to their default values.
Fields§
§current: f32
Calibration gain for the current channel.
voltage: f32
Calibration voltage for the voltage channel.
aux: Option<f32>
Calibration gain for the auxiliary channel. Set this field to None
to automatically
set the auxiliary offset based on the internal values.
Trait Implementations§
source§impl Clone for CalibrationGain
impl Clone for CalibrationGain
source§fn clone(&self) -> CalibrationGain
fn clone(&self) -> CalibrationGain
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more