#[repr(u8)]pub enum Misc0StopModeConfig {
STOP_MODE_CONFIG_0 = 0,
STOP_MODE_CONFIG_1 = 1,
STOP_MODE_CONFIG_2 = 2,
STOP_MODE_CONFIG_3 = 3,
}Variants§
STOP_MODE_CONFIG_0 = 0
All analog except rtc powered down on stop mode assertion. XtalOsc=on, RCOsc=off;
STOP_MODE_CONFIG_1 = 1
Certain analog functions such as certain regulators left up. XtalOsc=on, RCOsc=off;
STOP_MODE_CONFIG_2 = 2
XtalOsc=off, RCOsc=on, Old BG=on, New BG=off.
STOP_MODE_CONFIG_3 = 3
XtalOsc=off, RCOsc=on, Old BG=off, New BG=on.
Implementations§
Trait Implementations§
Source§impl Clone for Misc0StopModeConfig
impl Clone for Misc0StopModeConfig
Source§fn clone(&self) -> Misc0StopModeConfig
fn clone(&self) -> Misc0StopModeConfig
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 Misc0StopModeConfig
impl Debug for Misc0StopModeConfig
Source§impl From<Misc0StopModeConfig> for u8
impl From<Misc0StopModeConfig> for u8
Source§fn from(val: Misc0StopModeConfig) -> u8
fn from(val: Misc0StopModeConfig) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Misc0StopModeConfig
impl From<u8> for Misc0StopModeConfig
Source§fn from(val: u8) -> Misc0StopModeConfig
fn from(val: u8) -> Misc0StopModeConfig
Converts to this type from the input type.
Source§impl Ord for Misc0StopModeConfig
impl Ord for Misc0StopModeConfig
Source§fn cmp(&self, other: &Misc0StopModeConfig) -> Ordering
fn cmp(&self, other: &Misc0StopModeConfig) -> 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 Misc0StopModeConfig
impl PartialEq for Misc0StopModeConfig
Source§impl PartialOrd for Misc0StopModeConfig
impl PartialOrd for Misc0StopModeConfig
impl Copy for Misc0StopModeConfig
impl Eq for Misc0StopModeConfig
impl StructuralPartialEq for Misc0StopModeConfig
Auto Trait Implementations§
impl Freeze for Misc0StopModeConfig
impl RefUnwindSafe for Misc0StopModeConfig
impl Send for Misc0StopModeConfig
impl Sync for Misc0StopModeConfig
impl Unpin for Misc0StopModeConfig
impl UnwindSafe for Misc0StopModeConfig
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