#[repr(u32)]pub enum LowPowerMode {
RemainInRun = 0,
TransferToWait = 1,
TransferToStop = 2,
}Expand description
Low power mode.
From the reference manual,
Setting the low power mode that system will enter on next assertion of dsm_request signal.
Practically, this affects the processor behavior when you use WFI, WFE, or enter another low-power state. Low-power settings that aren’t “run” halt the ARM SYSTICK peripheral.
Variants§
RemainInRun = 0
Remain in run mode when entering low power.
TransferToWait = 1
Move to wait mode when entering low power.
TransferToStop = 2
Stop when entering low power.
Trait Implementations§
Source§impl Clone for LowPowerMode
impl Clone for LowPowerMode
Source§fn clone(&self) -> LowPowerMode
fn clone(&self) -> LowPowerMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LowPowerMode
Source§impl Debug for LowPowerMode
impl Debug for LowPowerMode
impl Eq for LowPowerMode
Source§impl PartialEq for LowPowerMode
impl PartialEq for LowPowerMode
impl StructuralPartialEq for LowPowerMode
Auto Trait Implementations§
impl Freeze for LowPowerMode
impl RefUnwindSafe for LowPowerMode
impl Send for LowPowerMode
impl Sync for LowPowerMode
impl Unpin for LowPowerMode
impl UnsafeUnpin for LowPowerMode
impl UnwindSafe for LowPowerMode
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