pub enum OperationMode {
Sleep = 0,
Forced = 1,
Parallel = 2,
Sequential = 3,
}
Expand description
Operation mode of the sensor.
Variants§
Sleep = 0
No measurements are performed. Minimal power consumption.
Forced = 1
Single TPHG cycle is performed. Gas sensor heater only operates during gas measurement. Returns to Sleep afterwards.
Parallel = 2
Multiple TPHG cycles are performed. Gas sensor heater operates in parallel to TPH measurement. Does not return to Sleep Mode.
Sequential = 3
Trait Implementations§
Source§impl PartialEq for OperationMode
impl PartialEq for OperationMode
impl StructuralPartialEq for OperationMode
Auto Trait Implementations§
impl Freeze for OperationMode
impl RefUnwindSafe for OperationMode
impl Send for OperationMode
impl Sync for OperationMode
impl Unpin for OperationMode
impl UnwindSafe for OperationMode
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