#[repr(u8)]pub enum Init {
DrvRdy = 0,
Boot = 1,
Reset = 2,
}Expand description
Represents the initialization settings for the device.
Variants§
DrvRdy = 0
Prepares the device for normal operation, ensuring it is ready to perform measurements.
Boot = 1
Initiates a boot procedure, typically used to restart the device and reload configuration settings.
Reset = 2
Performs a software reset of the device, restoring it to its default state.
Trait Implementations§
impl Copy for Init
impl StructuralPartialEq for Init
Auto Trait Implementations§
impl Freeze for Init
impl RefUnwindSafe for Init
impl Send for Init
impl Sync for Init
impl Unpin for Init
impl UnsafeUnpin for Init
impl UnwindSafe for Init
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