Enum nrf52840_hal::target::nfct::txd::frameconfig::CRCMODETXR
source · pub enum CRCMODETXR {
NOCRCTX,
CRC16TX,
}
Expand description
Possible values of the field CRCMODETX
Variants
NOCRCTX
CRC is not added to the frame
CRC16TX
16 bit CRC added to the frame based on all the data read from RAM that is used in the frame
Implementations
sourceimpl CRCMODETXR
impl CRCMODETXR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
sourcepub fn is_no_crctx(&self) -> bool
pub fn is_no_crctx(&self) -> bool
Checks if the value of the field is NOCRCTX
sourcepub fn is_crc16tx(&self) -> bool
pub fn is_crc16tx(&self) -> bool
Checks if the value of the field is CRC16TX
Trait Implementations
sourceimpl Clone for CRCMODETXR
impl Clone for CRCMODETXR
sourcefn clone(&self) -> CRCMODETXR
fn clone(&self) -> CRCMODETXR
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 CRCMODETXR
impl Debug for CRCMODETXR
sourceimpl PartialEq<CRCMODETXR> for CRCMODETXR
impl PartialEq<CRCMODETXR> for CRCMODETXR
sourcefn eq(&self, other: &CRCMODETXR) -> bool
fn eq(&self, other: &CRCMODETXR) -> bool
impl Copy for CRCMODETXR
impl StructuralPartialEq for CRCMODETXR
Auto Trait Implementations
impl RefUnwindSafe for CRCMODETXR
impl Send for CRCMODETXR
impl Sync for CRCMODETXR
impl Unpin for CRCMODETXR
impl UnwindSafe for CRCMODETXR
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