pub enum CRCERRR {
MATCH,
NOMATCH,
}
Expand description
Possible values of the field CRCERR
Variants§
MATCH
CRC value received matches the SPIx_RXCRCR value
NOMATCH
CRC value received does not match the SPIx_RXCRCR value
Implementations§
Source§impl CRCERRR
impl CRCERRR
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_match(&self) -> bool
pub fn is_no_match(&self) -> bool
Checks if the value of the field is NOMATCH
Trait Implementations§
impl Copy for CRCERRR
impl StructuralPartialEq for CRCERRR
Auto Trait Implementations§
impl Freeze for CRCERRR
impl RefUnwindSafe for CRCERRR
impl Send for CRCERRR
impl Sync for CRCERRR
impl Unpin for CRCERRR
impl UnwindSafe for CRCERRR
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