pub enum SLEEPSTATE_A {
IDLE = 0,
SLEEP_A = 1,
}
Expand description
Reflects the sleep state during automatic collision resolution. Set to IDLE by a GOIDLE task. Set to SLEEP_A when a valid SLEEP_REQ frame is received or by a GOSLEEP task.
Value on reset: 0
Variants§
Trait Implementations§
Source§impl Clone for SLEEPSTATE_A
impl Clone for SLEEPSTATE_A
Source§fn clone(&self) -> SLEEPSTATE_A
fn clone(&self) -> SLEEPSTATE_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 SLEEPSTATE_A
impl Debug for SLEEPSTATE_A
Source§impl From<SLEEPSTATE_A> for bool
impl From<SLEEPSTATE_A> for bool
Source§fn from(variant: SLEEPSTATE_A) -> Self
fn from(variant: SLEEPSTATE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SLEEPSTATE_A
impl PartialEq for SLEEPSTATE_A
impl Copy for SLEEPSTATE_A
impl StructuralPartialEq for SLEEPSTATE_A
Auto Trait Implementations§
impl Freeze for SLEEPSTATE_A
impl RefUnwindSafe for SLEEPSTATE_A
impl Send for SLEEPSTATE_A
impl Sync for SLEEPSTATE_A
impl Unpin for SLEEPSTATE_A
impl UnwindSafe for SLEEPSTATE_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