#[repr(u8)]pub enum DriveMode {
DriveMode0Idle = 0,
DriveMode1Sec = 16,
DriveMode10Sec = 32,
DriveMode60Sec = 48,
DriveModeRawData = 64,
}
Expand description
Measurement Mode
Variants§
DriveMode0Idle = 0
Idle Mode
DriveMode1Sec = 16
Mode 1 : 1 read per second
DriveMode10Sec = 32
Mode 2 : read each 10 seconds
DriveMode60Sec = 48
Mode 3 : read each 60 seconds
DriveModeRawData = 64
Mode 4 : read every 250 ms, expose only raw data
Trait Implementations§
impl Copy for DriveMode
impl StructuralPartialEq for DriveMode
Auto Trait Implementations§
impl Freeze for DriveMode
impl RefUnwindSafe for DriveMode
impl Send for DriveMode
impl Sync for DriveMode
impl Unpin for DriveMode
impl UnwindSafe for DriveMode
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