Enum nrf52840_pac::nfct::sleepstate::SLEEPSTATE_A
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)