Enum sgp30::Command
[−]
[src]
pub enum Command { GetSerial, SelfTest, InitAirQuality, MeasureAirQuality, MeasureRawSignals, GetBaseline, SetBaseline, SetHumidity, GetFeatureSet, }
I²C commands sent to the sensor.
Variants
GetSerial
Return the serial number.
SelfTest
Run an on-chip self-test.
InitAirQuality
Initialize air quality measurements.
MeasureAirQuality
Get a current air quality measurement.
MeasureRawSignals
Measure raw signals.
GetBaseline
Return the baseline value.
SetBaseline
Set the baseline value.
SetHumidity
Set the current relative humidity.
GetFeatureSet
Set the feature set.
Trait Implementations
impl Debug for Command
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more