Enum stm32f429i_disc::i2c3::sr1::BERRR
pub enum BERRR {
NOERROR,
ERROR,
}
Expand description
Possible values of the field BERR
Variants
NOERROR
No misplaced Start or Stop condition
ERROR
Misplaced Start or Stop condition
Implementations
impl BERRR
impl BERRR
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_error(&self) -> bool
pub fn is_no_error(&self) -> bool
Checks if the value of the field is NOERROR
Trait Implementations
impl Copy for BERRR
impl StructuralPartialEq for BERRR
Auto Trait Implementations
impl RefUnwindSafe for BERRR
impl Send for BERRR
impl Sync for BERRR
impl Unpin for BERRR
impl UnwindSafe for BERRR
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