pub struct TemperatureAccelerationParameters {
pub k: u16,
pub p: u16,
pub t1: u16,
pub t2: u16,
}Expand description
Custom temperature-acceleration parameters of the RH/T engine, overriding the device defaults. See the datasheet for the exact transfer function.
Fields§
§k: u16Filter constant K.
p: u16Filter constant P.
t1: u16First time constant T1.
t2: u16Second time constant T2.
Trait Implementations§
Source§impl Clone for TemperatureAccelerationParameters
impl Clone for TemperatureAccelerationParameters
Source§fn clone(&self) -> TemperatureAccelerationParameters
fn clone(&self) -> TemperatureAccelerationParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for TemperatureAccelerationParameters
impl<'de> Deserialize<'de> for TemperatureAccelerationParameters
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
impl Eq for TemperatureAccelerationParameters
Source§impl PartialEq for TemperatureAccelerationParameters
impl PartialEq for TemperatureAccelerationParameters
Source§fn eq(&self, other: &TemperatureAccelerationParameters) -> bool
fn eq(&self, other: &TemperatureAccelerationParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TemperatureAccelerationParameters
Auto Trait Implementations§
impl Freeze for TemperatureAccelerationParameters
impl RefUnwindSafe for TemperatureAccelerationParameters
impl Send for TemperatureAccelerationParameters
impl Sync for TemperatureAccelerationParameters
impl Unpin for TemperatureAccelerationParameters
impl UnsafeUnpin for TemperatureAccelerationParameters
impl UnwindSafe for TemperatureAccelerationParameters
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