#[repr(u8)]pub enum Ldodeepsleepref {
FLASHBUFFER = 0,
BGP0P8V = 1,
}Variants§
FLASHBUFFER = 0
LDO DEEP Sleep uses Flash buffer biasing as reference.
BGP0P8V = 1
LDO DEEP Sleep uses Band Gap 0.8V as reference.
Implementations§
Trait Implementations§
Source§impl Clone for Ldodeepsleepref
impl Clone for Ldodeepsleepref
Source§fn clone(&self) -> Ldodeepsleepref
fn clone(&self) -> Ldodeepsleepref
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ldodeepsleepref
impl Debug for Ldodeepsleepref
Source§impl From<Ldodeepsleepref> for u8
impl From<Ldodeepsleepref> for u8
Source§fn from(val: Ldodeepsleepref) -> u8
fn from(val: Ldodeepsleepref) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ldodeepsleepref
impl From<u8> for Ldodeepsleepref
Source§fn from(val: u8) -> Ldodeepsleepref
fn from(val: u8) -> Ldodeepsleepref
Converts to this type from the input type.
Source§impl Ord for Ldodeepsleepref
impl Ord for Ldodeepsleepref
Source§fn cmp(&self, other: &Ldodeepsleepref) -> Ordering
fn cmp(&self, other: &Ldodeepsleepref) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Ldodeepsleepref
impl PartialEq for Ldodeepsleepref
Source§impl PartialOrd for Ldodeepsleepref
impl PartialOrd for Ldodeepsleepref
impl Copy for Ldodeepsleepref
impl Eq for Ldodeepsleepref
impl StructuralPartialEq for Ldodeepsleepref
Auto Trait Implementations§
impl Freeze for Ldodeepsleepref
impl RefUnwindSafe for Ldodeepsleepref
impl Send for Ldodeepsleepref
impl Sync for Ldodeepsleepref
impl Unpin for Ldodeepsleepref
impl UnwindSafe for Ldodeepsleepref
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