Enum nucleo_f401re::i2s2ext::sr::CRCERRR
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