Enum nrf52840_hal::target::nfct::rxd::frameconfig::CRCMODERXR
source · pub enum CRCMODERXR {
NOCRCRX,
CRC16RX,
}
Expand description
Possible values of the field CRCMODERX
Variants
NOCRCRX
CRC is not expected in RX frames
CRC16RX
Last 16 bits in RX frame is CRC, CRC is checked and CRCSTATUS updated
Implementations
sourceimpl CRCMODERXR
impl CRCMODERXR
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_crcrx(&self) -> bool
pub fn is_no_crcrx(&self) -> bool
Checks if the value of the field is NOCRCRX
sourcepub fn is_crc16rx(&self) -> bool
pub fn is_crc16rx(&self) -> bool
Checks if the value of the field is CRC16RX
Trait Implementations
sourceimpl Clone for CRCMODERXR
impl Clone for CRCMODERXR
sourcefn clone(&self) -> CRCMODERXR
fn clone(&self) -> CRCMODERXR
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 CRCMODERXR
impl Debug for CRCMODERXR
sourceimpl PartialEq<CRCMODERXR> for CRCMODERXR
impl PartialEq<CRCMODERXR> for CRCMODERXR
sourcefn eq(&self, other: &CRCMODERXR) -> bool
fn eq(&self, other: &CRCMODERXR) -> bool
impl Copy for CRCMODERXR
impl StructuralPartialEq for CRCMODERXR
Auto Trait Implementations
impl RefUnwindSafe for CRCMODERXR
impl Send for CRCMODERXR
impl Sync for CRCMODERXR
impl Unpin for CRCMODERXR
impl UnwindSafe for CRCMODERXR
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