Enum garminfit::profile::messages::OneDSensorCalibration
source · pub enum OneDSensorCalibration {
Timestamp(Field<DateTime>),
SensorType(Field<SensorType>),
CalibrationFactor(Field<Uint32>),
CalibrationDivisor(Field<Uint32>),
LevelShift(Field<Uint32>),
OffsetCal(Field<Sint32>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Variants
Timestamp(Field<DateTime>)
Whole second part of the timestamp
SensorType(Field<SensorType>)
Indicates which sensor the calibration is for
CalibrationFactor(Field<Uint32>)
Calibration factor used to convert from raw ADC value to degrees, g, etc.
CalibrationDivisor(Field<Uint32>)
Calibration factor divisor
LevelShift(Field<Uint32>)
Level shift value used to shift the ADC value back into range
OffsetCal(Field<Sint32>)
Internal Calibration factor
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OneDSensorCalibration
impl Send for OneDSensorCalibration
impl Sync for OneDSensorCalibration
impl Unpin for OneDSensorCalibration
impl UnwindSafe for OneDSensorCalibration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more