Enum bsec::SampleRate
source · pub enum SampleRate {
Disabled,
Ulp,
Continuous,
Lp,
UlpMeasurementOnDemand,
}
Expand description
Valid sampling rates for the BSEC algorithm.
Variants§
Disabled
Disabled, not being sampled.
Ulp
Ultra-low power, see Bosch BSEC documentation.
Continuous
Continuous mode for testing, see Bosch BSEC documentation.
Lp
Low power, see Bosch BSEC documentation.
UlpMeasurementOnDemand
Perform a single measurement on demand between sampling intervals.
See Bosch BSEC documentation.
Trait Implementations§
source§impl Clone for SampleRate
impl Clone for SampleRate
source§fn clone(&self) -> SampleRate
fn clone(&self) -> SampleRate
Returns a copy 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 SampleRate
impl Debug for SampleRate
source§impl From<SampleRate> for f32
impl From<SampleRate> for f32
source§fn from(sample_rate: SampleRate) -> Self
fn from(sample_rate: SampleRate) -> Self
Converts to this type from the input type.
source§impl From<SampleRate> for f64
impl From<SampleRate> for f64
source§fn from(sample_rate: SampleRate) -> Self
fn from(sample_rate: SampleRate) -> Self
Converts to this type from the input type.
source§impl Hash for SampleRate
impl Hash for SampleRate
source§impl PartialEq<SampleRate> for SampleRate
impl PartialEq<SampleRate> for SampleRate
source§fn eq(&self, other: &SampleRate) -> bool
fn eq(&self, other: &SampleRate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.