Enum stm32f429i_disc::spi1::cr2::ERRIER
pub enum ERRIER {
MASKED,
NOTMASKED,
}
Expand description
Possible values of the field ERRIE
Variants
MASKED
Error interrupt masked
NOTMASKED
Error interrupt not masked
Implementations
impl ERRIER
impl ERRIER
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_not_masked(&self) -> bool
pub fn is_not_masked(&self) -> bool
Checks if the value of the field is NOTMASKED
Trait Implementations
impl Copy for ERRIER
impl StructuralPartialEq for ERRIER
Auto Trait Implementations
impl RefUnwindSafe for ERRIER
impl Send for ERRIER
impl Sync for ERRIER
impl Unpin for ERRIER
impl UnwindSafe for ERRIER
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