Enum capsules::si7021::State
[−]
[src]
enum State { Idle, WaitTemp, WaitRh, SelectElectronicId1, ReadElectronicId1, SelectElectronicId2, ReadElectronicId2, TakeTempMeasurementInit, TakeRhMeasurementInit, ReadRhMeasurement, ReadTempMeasurement, GotTempMeasurement, GotRhMeasurement, }
States of the I2C protocol with the LPS331AP.
Variants
Idle
WaitTemp
WaitRh
SelectElectronicId1
States to read the internal ID
ReadElectronicId1
SelectElectronicId2
ReadElectronicId2
TakeTempMeasurementInit
States to take the current measurement
TakeRhMeasurementInit
ReadRhMeasurement
ReadTempMeasurement
GotTempMeasurement
GotRhMeasurement
Trait Implementations
impl Clone for State
[src]
fn clone(&self) -> State
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more