Enum atsamd51j::system_control::scr::SLEEPONEXIT_A
source · [−]pub enum SLEEPONEXIT_A {
VALUE_0,
VALUE_1,
}
Expand description
Sleep-on-exit on handler return
Value on reset: 0
Variants
VALUE_0
0: Do not sleep when returning to Thread mode
VALUE_1
1: Enter sleep, or deep sleep, on return from an ISR
Trait Implementations
sourceimpl Clone for SLEEPONEXIT_A
impl Clone for SLEEPONEXIT_A
sourcefn clone(&self) -> SLEEPONEXIT_A
fn clone(&self) -> SLEEPONEXIT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SLEEPONEXIT_A
impl Debug for SLEEPONEXIT_A
sourceimpl From<SLEEPONEXIT_A> for bool
impl From<SLEEPONEXIT_A> for bool
sourcefn from(variant: SLEEPONEXIT_A) -> Self
fn from(variant: SLEEPONEXIT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SLEEPONEXIT_A> for SLEEPONEXIT_A
impl PartialEq<SLEEPONEXIT_A> for SLEEPONEXIT_A
sourcefn eq(&self, other: &SLEEPONEXIT_A) -> bool
fn eq(&self, other: &SLEEPONEXIT_A) -> bool
impl Copy for SLEEPONEXIT_A
impl StructuralPartialEq for SLEEPONEXIT_A
Auto Trait Implementations
impl RefUnwindSafe for SLEEPONEXIT_A
impl Send for SLEEPONEXIT_A
impl Sync for SLEEPONEXIT_A
impl Unpin for SLEEPONEXIT_A
impl UnwindSafe for SLEEPONEXIT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more