#[repr(u8)]pub enum DisableBleed {
BLEED_ENABLE = 0,
BLEED_DISABLE = 1,
}Variants§
BLEED_ENABLE = 0
LDO_MEM bleed current is enabled.
BLEED_DISABLE = 1
LDO_MEM bleed current is disabled. Should be set before entering in Deep Sleep low power mode and cleared after wake up from Deep SLeep low power mode.
Implementations§
Source§impl DisableBleed
impl DisableBleed
Trait Implementations§
Source§impl Clone for DisableBleed
impl Clone for DisableBleed
Source§fn clone(&self) -> DisableBleed
fn clone(&self) -> DisableBleed
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 DisableBleed
impl Debug for DisableBleed
Source§impl From<DisableBleed> for u8
impl From<DisableBleed> for u8
Source§fn from(val: DisableBleed) -> u8
fn from(val: DisableBleed) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DisableBleed
impl From<u8> for DisableBleed
Source§fn from(val: u8) -> DisableBleed
fn from(val: u8) -> DisableBleed
Converts to this type from the input type.
Source§impl Ord for DisableBleed
impl Ord for DisableBleed
Source§fn cmp(&self, other: &DisableBleed) -> Ordering
fn cmp(&self, other: &DisableBleed) -> 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 DisableBleed
impl PartialEq for DisableBleed
Source§impl PartialOrd for DisableBleed
impl PartialOrd for DisableBleed
impl Copy for DisableBleed
impl Eq for DisableBleed
impl StructuralPartialEq for DisableBleed
Auto Trait Implementations§
impl Freeze for DisableBleed
impl RefUnwindSafe for DisableBleed
impl Send for DisableBleed
impl Sync for DisableBleed
impl Unpin for DisableBleed
impl UnwindSafe for DisableBleed
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