Struct ade791x::Calibration
source · pub struct Calibration {
pub offset: CalibrationOffset,
pub gain: CalibrationGain,
}
Expand description
Contains the calibration values for the ADC.
Fields§
§offset: CalibrationOffset
Calibration offset as a CalibrationOffset
.
gain: CalibrationGain
Calibration gain as a CalibrationGain
.
Trait Implementations§
source§impl Clone for Calibration
impl Clone for Calibration
source§fn clone(&self) -> Calibration
fn clone(&self) -> Calibration
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 Calibration
impl Debug for Calibration
source§impl Default for Calibration
impl Default for Calibration
source§fn default() -> Calibration
fn default() -> Calibration
Returns the “default value” for a type. Read more