Struct ade791x::CalibrationOffset
source · Expand description
Contains the calibration offsets, that can be obtained by reading the ADC measurements with the default calibration values and no load applied.
Fields§
§current: f32
Calibration offset for the current channel.
voltage: f32
Calibration offset for the voltage channel.
aux: Option<f32>
Calibration offset 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 CalibrationOffset
impl Clone for CalibrationOffset
source§fn clone(&self) -> CalibrationOffset
fn clone(&self) -> CalibrationOffset
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 moresource§impl Debug for CalibrationOffset
impl Debug for CalibrationOffset
source§impl Default for CalibrationOffset
impl Default for CalibrationOffset
source§fn default() -> CalibrationOffset
fn default() -> CalibrationOffset
Returns the “default value” for a type. Read more