pub enum Sleeponexitselect {
Value0 = 0,
Value1 = 1,
}
Expand description
Sleep-on-exit on handler return
Value on reset: 0
Variants§
Value0 = 0
0: Do not sleep when returning to Thread mode
Value1 = 1
1: Enter sleep, or deep sleep, on return from an ISR
Trait Implementations§
Source§impl Clone for Sleeponexitselect
impl Clone for Sleeponexitselect
Source§fn clone(&self) -> Sleeponexitselect
fn clone(&self) -> Sleeponexitselect
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 Sleeponexitselect
impl Debug for Sleeponexitselect
Source§impl From<Sleeponexitselect> for bool
impl From<Sleeponexitselect> for bool
Source§fn from(variant: Sleeponexitselect) -> Self
fn from(variant: Sleeponexitselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Sleeponexitselect
impl PartialEq for Sleeponexitselect
impl Copy for Sleeponexitselect
impl Eq for Sleeponexitselect
impl StructuralPartialEq for Sleeponexitselect
Auto Trait Implementations§
impl Freeze for Sleeponexitselect
impl RefUnwindSafe for Sleeponexitselect
impl Send for Sleeponexitselect
impl Sync for Sleeponexitselect
impl Unpin for Sleeponexitselect
impl UnwindSafe for Sleeponexitselect
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