Struct stm32_metapac::i2c::regs::Sr1
#[repr(transparent)]pub struct Sr1(pub u32);
Expand description
Status register 1
Tuple Fields§
§0: u32
Implementations§
§impl Sr1
impl Sr1
pub fn set_pecerr(&mut self, val: bool)
pub fn set_pecerr(&mut self, val: bool)
PEC Error in reception
pub fn set_timeout(&mut self, val: bool)
pub fn set_timeout(&mut self, val: bool)
Timeout or t_low detection flag
Trait Implementations§
impl Copy for Sr1
impl Eq for Sr1
impl StructuralPartialEq for Sr1
Auto Trait Implementations§
impl Freeze for Sr1
impl RefUnwindSafe for Sr1
impl Send for Sr1
impl Sync for Sr1
impl Unpin for Sr1
impl UnwindSafe for Sr1
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more