Enum Sleeponexit
pub enum Sleeponexit {
_0 = 0,
_1 = 1,
}Expand description
Indicates sleep-on-exit when returning from Handler mode to Thread mode
Value on reset: 0
Variants§
_0 = 0
0: o not sleep when returning to Thread mode
_1 = 1
1: enter sleep, or deep sleep, on return from an ISR
Trait Implementations§
§impl Clone for Sleeponexit
impl Clone for Sleeponexit
§fn clone(&self) -> Sleeponexit
fn clone(&self) -> Sleeponexit
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 more§impl Debug for Sleeponexit
impl Debug for Sleeponexit
§impl Format for Sleeponexit
impl Format for Sleeponexit
§impl From<Sleeponexit> for bool
impl From<Sleeponexit> for bool
§fn from(variant: Sleeponexit) -> Self
fn from(variant: Sleeponexit) -> Self
Converts to this type from the input type.
§impl PartialEq for Sleeponexit
impl PartialEq for Sleeponexit
impl Copy for Sleeponexit
impl Eq for Sleeponexit
impl StructuralPartialEq for Sleeponexit
Auto Trait Implementations§
impl Freeze for Sleeponexit
impl RefUnwindSafe for Sleeponexit
impl Send for Sleeponexit
impl Sync for Sleeponexit
impl Unpin for Sleeponexit
impl UnwindSafe for Sleeponexit
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