Enum nrf52840_pac::nfct::sleepstate::SLEEPSTATE_A
source · [−]pub enum SLEEPSTATE_A {
IDLE,
SLEEP_A,
}
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
IDLE
0: State is IDLE.
SLEEP_A
1: State is SLEEP_A.
Trait Implementations
sourceimpl Clone for SLEEPSTATE_A
impl Clone for SLEEPSTATE_A
sourcefn clone(&self) -> SLEEPSTATE_A
fn clone(&self) -> SLEEPSTATE_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 SLEEPSTATE_A
impl Debug for SLEEPSTATE_A
sourceimpl From<SLEEPSTATE_A> for bool
impl From<SLEEPSTATE_A> for bool
sourcefn from(variant: SLEEPSTATE_A) -> Self
fn from(variant: SLEEPSTATE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SLEEPSTATE_A> for SLEEPSTATE_A
impl PartialEq<SLEEPSTATE_A> for SLEEPSTATE_A
sourcefn eq(&self, other: &SLEEPSTATE_A) -> bool
fn eq(&self, other: &SLEEPSTATE_A) -> bool
impl Copy for SLEEPSTATE_A
impl StructuralPartialEq for SLEEPSTATE_A
Auto Trait Implementations
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
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