#[repr(u8)]pub enum Misc0SetStopModeConfig {
STOP_MODE_CONFIG_0 = 0,
STANDBY = 1,
STOP_MODE_CONFIG_2 = 2,
STOP_MODE_CONFIG_3 = 3,
}Variants§
STOP_MODE_CONFIG_0 = 0
SUSPEND (DSM)
STANDBY = 1
Analog regulators are ON.
STOP_MODE_CONFIG_2 = 2
STOP (lower power)
STOP_MODE_CONFIG_3 = 3
STOP (very lower power)
Implementations§
Trait Implementations§
Source§impl Clone for Misc0SetStopModeConfig
impl Clone for Misc0SetStopModeConfig
Source§fn clone(&self) -> Misc0SetStopModeConfig
fn clone(&self) -> Misc0SetStopModeConfig
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 Misc0SetStopModeConfig
impl Debug for Misc0SetStopModeConfig
Source§impl From<Misc0SetStopModeConfig> for u8
impl From<Misc0SetStopModeConfig> for u8
Source§fn from(val: Misc0SetStopModeConfig) -> u8
fn from(val: Misc0SetStopModeConfig) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Misc0SetStopModeConfig
impl From<u8> for Misc0SetStopModeConfig
Source§fn from(val: u8) -> Misc0SetStopModeConfig
fn from(val: u8) -> Misc0SetStopModeConfig
Converts to this type from the input type.
Source§impl Ord for Misc0SetStopModeConfig
impl Ord for Misc0SetStopModeConfig
Source§fn cmp(&self, other: &Misc0SetStopModeConfig) -> Ordering
fn cmp(&self, other: &Misc0SetStopModeConfig) -> 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 Misc0SetStopModeConfig
impl PartialEq for Misc0SetStopModeConfig
Source§impl PartialOrd for Misc0SetStopModeConfig
impl PartialOrd for Misc0SetStopModeConfig
impl Copy for Misc0SetStopModeConfig
impl Eq for Misc0SetStopModeConfig
impl StructuralPartialEq for Misc0SetStopModeConfig
Auto Trait Implementations§
impl Freeze for Misc0SetStopModeConfig
impl RefUnwindSafe for Misc0SetStopModeConfig
impl Send for Misc0SetStopModeConfig
impl Sync for Misc0SetStopModeConfig
impl Unpin for Misc0SetStopModeConfig
impl UnwindSafe for Misc0SetStopModeConfig
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