Enum atsame54n::nvmctrl::ctrla::PRMSELECT_A
source · #[repr(u8)]pub enum PRMSELECT_A {
SEMIAUTO = 0,
FULLAUTO = 1,
MANUAL = 3,
}
Expand description
Power Reduction Mode during Sleep
Value on reset: 0
Variants§
SEMIAUTO = 0
0: NVM block enters low-power mode when entering standby mode. NVM block enters low-power mode when SPRM command is issued. NVM block exits low-power mode upon first access.
FULLAUTO = 1
1: NVM block enters low-power mode when entering standby mode. NVM block enters low-power mode when SPRM command is issued. NVM block exits low-power mode when system is not in standby mode.
MANUAL = 3
3: NVM block does not enter low-power mode when entering standby mode. NVM block enters low-power mode when SPRM command is issued. NVM block exits low-power mode upon first access.
Trait Implementations§
source§impl Clone for PRMSELECT_A
impl Clone for PRMSELECT_A
source§fn clone(&self) -> PRMSELECT_A
fn clone(&self) -> PRMSELECT_A
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 PRMSELECT_A
impl Debug for PRMSELECT_A
source§impl From<PRMSELECT_A> for u8
impl From<PRMSELECT_A> for u8
source§fn from(variant: PRMSELECT_A) -> Self
fn from(variant: PRMSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PRMSELECT_A
impl PartialEq for PRMSELECT_A
source§fn eq(&self, other: &PRMSELECT_A) -> bool
fn eq(&self, other: &PRMSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PRMSELECT_A
impl Eq for PRMSELECT_A
impl StructuralPartialEq for PRMSELECT_A
Auto Trait Implementations§
impl Freeze for PRMSELECT_A
impl RefUnwindSafe for PRMSELECT_A
impl Send for PRMSELECT_A
impl Sync for PRMSELECT_A
impl Unpin for PRMSELECT_A
impl UnwindSafe for PRMSELECT_A
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