Enum imxrt_hal::ccm::LowPowerMode
source · #[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 copy 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 LowPowerMode
impl Debug for LowPowerMode
source§impl PartialEq for LowPowerMode
impl PartialEq for LowPowerMode
source§fn eq(&self, other: &LowPowerMode) -> bool
fn eq(&self, other: &LowPowerMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LowPowerMode
impl Eq for LowPowerMode
impl StructuralEq for LowPowerMode
impl StructuralPartialEq for LowPowerMode
Auto Trait Implementations§
impl RefUnwindSafe for LowPowerMode
impl Send for LowPowerMode
impl Sync for LowPowerMode
impl Unpin 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