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
impl CRCERRR
impl CRCERRR
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub 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 RefUnwindSafe for CRCERRR
impl Send for CRCERRR
impl Sync for CRCERRR
impl Unpin for CRCERRR
impl UnwindSafe for CRCERRR
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