pub enum BERR_A {
NoError,
Error,
}Expand description
Bus error This flag is set by hardware when a misplaced Start or Stop condition is detected whereas the peripheral is involved in the transfer. The flag is not set during the address phase in slave mode. It is cleared by software by setting BERRCF bit. Note: This bit is cleared by hardware when PE=0.
Value on reset: 0
Variants
NoError
0: No bus error
Error
1: Misplaced Start and Stop condition is detected
Trait Implementations
impl Copy for BERR_A
impl StructuralPartialEq for BERR_A
Auto Trait Implementations
impl RefUnwindSafe for BERR_A
impl Send for BERR_A
impl Sync for BERR_A
impl Unpin for BERR_A
impl UnwindSafe for BERR_A
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