Enum sgp30::Command [] [src]

pub enum Command {
    GetSerial,
    SelfTest,
    InitAirQuality,
    MeasureAirQuality,
    MeasureRawSignals,
    GetBaseline,
    SetBaseline,
    SetHumidity,
    GetFeatureSet,
}

I²C commands sent to the sensor.

Variants

Return the serial number.

Run an on-chip self-test.

Initialize air quality measurements.

Get a current air quality measurement.

Measure raw signals.

Return the baseline value.

Set the baseline value.

Set the current relative humidity.

Set the feature set.

Trait Implementations

impl Debug for Command
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Command
[src]

impl Clone for Command
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Command

impl Sync for Command