pub struct BarometerCalibration {
pub pressure_sensitivity: u16,
pub pressure_offset: u16,
pub temperature_coefficient_ps: u16,
pub temperature_coefficient_po: u16,
pub reference_temperature: u16,
pub temperature_coefficient_t: u16,
}Expand description
Calibration values from the barometer’s internal memroy, used to convert raw values into unit values
Fields§
§pressure_sensitivity: u16Pressure sensitivity | SENS_T1
pressure_offset: u16Pressure offset | OFF_T1
temperature_coefficient_ps: u16Temperature coefficient of pressure sensitivity | TCS
temperature_coefficient_po: u16Temperature coefficient of pressure offset | TCO
reference_temperature: u16Reference temperature | T_REF
temperature_coefficient_t: u16Temperature coefficient of the temperature | TEMPSENS
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BarometerCalibration
impl<'de> Deserialize<'de> for BarometerCalibration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BarometerCalibration
impl RefUnwindSafe for BarometerCalibration
impl Send for BarometerCalibration
impl Sync for BarometerCalibration
impl Unpin for BarometerCalibration
impl UnwindSafe for BarometerCalibration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more