#[repr(u8)]pub enum Bootmode {
POWERUP = 0,
DEEPSLEEP = 1,
POWERDOWN = 2,
DEEPPOWERDOWN = 3,
}Variants§
POWERUP = 0
Latest IC boot was a Full power cycle boot sequence (PoR, Pin Reset, Brown Out Detectors Reset, Software Reset).
DEEPSLEEP = 1
Latest IC boot was from DEEP SLEEP low power mode.
POWERDOWN = 2
Latest IC boot was from POWER DOWN low power mode.
DEEPPOWERDOWN = 3
Latest IC boot was from DEEP POWER DOWN low power mode.
Implementations§
Trait Implementations§
Source§impl Ord for Bootmode
impl Ord for Bootmode
Source§impl PartialOrd for Bootmode
impl PartialOrd for Bootmode
impl Copy for Bootmode
impl Eq for Bootmode
impl StructuralPartialEq for Bootmode
Auto Trait Implementations§
impl Freeze for Bootmode
impl RefUnwindSafe for Bootmode
impl Send for Bootmode
impl Sync for Bootmode
impl Unpin for Bootmode
impl UnwindSafe for Bootmode
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