pub enum ThreeDSensorCalibration {
Timestamp(Field<DateTime>),
SensorType(Field<SensorType>),
CalibrationFactor(Field<Uint32>),
CalibrationDivisor(Field<Uint32>),
LevelShift(Field<Uint32>),
OffsetCal(Field<Sint32>),
OrientationMatrix(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 factors, one for each: xy, yx, zx
OrientationMatrix(Field<Sint32>)
3 x 3 rotation matrix (row major)
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ThreeDSensorCalibration
impl Send for ThreeDSensorCalibration
impl Sync for ThreeDSensorCalibration
impl Unpin for ThreeDSensorCalibration
impl UnwindSafe for ThreeDSensorCalibration
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