Enum nrf52840_pac::nfct::sensres::BITFRAMESDD_A
source · #[repr(u8)]pub enum BITFRAMESDD_A {
SDD00000 = 0,
SDD00001 = 1,
SDD00010 = 2,
SDD00100 = 4,
SDD01000 = 8,
SDD10000 = 16,
}
Expand description
Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification
Value on reset: 1
Variants§
SDD00000 = 0
0: SDD pattern 00000
SDD00001 = 1
1: SDD pattern 00001
SDD00010 = 2
2: SDD pattern 00010
SDD00100 = 4
4: SDD pattern 00100
SDD01000 = 8
8: SDD pattern 01000
SDD10000 = 16
16: SDD pattern 10000
Trait Implementations§
source§impl Clone for BITFRAMESDD_A
impl Clone for BITFRAMESDD_A
source§fn clone(&self) -> BITFRAMESDD_A
fn clone(&self) -> BITFRAMESDD_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 BITFRAMESDD_A
impl Debug for BITFRAMESDD_A
source§impl From<BITFRAMESDD_A> for u8
impl From<BITFRAMESDD_A> for u8
source§fn from(variant: BITFRAMESDD_A) -> Self
fn from(variant: BITFRAMESDD_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for BITFRAMESDD_A
impl PartialEq for BITFRAMESDD_A
impl Copy for BITFRAMESDD_A
impl StructuralPartialEq for BITFRAMESDD_A
Auto Trait Implementations§
impl Freeze for BITFRAMESDD_A
impl RefUnwindSafe for BITFRAMESDD_A
impl Send for BITFRAMESDD_A
impl Sync for BITFRAMESDD_A
impl Unpin for BITFRAMESDD_A
impl UnwindSafe for BITFRAMESDD_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
)