pub struct OversamplingConfig {
pub temp_osrs: Oversampling,
pub hum_osrs: Oversampling,
pub pres_osrs: Oversampling,
}Expand description
Gruppierte Oversampling-Konfiguration für alle Umwelt-Sensoren.
Nutzen Sie Oversampling::Skipped, um Kanäle zu deaktivieren, die für Ihre
Anwendung nicht relevant sind (spart Zeit und Energie).
Fields§
§temp_osrs: OversamplingOversampling für den Temperatursensor.
hum_osrs: OversamplingOversampling für den Luftfeuchtigkeitssensor.
pres_osrs: OversamplingOversampling für den Luftdrucksensor.
Implementations§
Source§impl OversamplingConfig
impl OversamplingConfig
Sourcepub fn is_all_skipped(&self) -> bool
pub fn is_all_skipped(&self) -> bool
Gibt true zurück, wenn alle TPH-Sensoren auf Skipped stehen.
Trait Implementations§
Source§impl Clone for OversamplingConfig
impl Clone for OversamplingConfig
Source§fn clone(&self) -> OversamplingConfig
fn clone(&self) -> OversamplingConfig
Returns a duplicate 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 OversamplingConfig
impl Debug for OversamplingConfig
Source§impl Default for OversamplingConfig
impl Default for OversamplingConfig
Source§fn default() -> OversamplingConfig
fn default() -> OversamplingConfig
Returns the “default value” for a type. Read more
impl Copy for OversamplingConfig
Auto Trait Implementations§
impl Freeze for OversamplingConfig
impl RefUnwindSafe for OversamplingConfig
impl Send for OversamplingConfig
impl Sync for OversamplingConfig
impl Unpin for OversamplingConfig
impl UnwindSafe for OversamplingConfig
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