Struct stm32_metapac::i2c::regs::Isr
#[repr(transparent)]pub struct Isr(pub u32);
Expand description
Interrupt and Status register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Isr
impl Isr
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
pub fn set_addcode(&mut self, val: u8)
pub fn set_addcode(&mut self, val: u8)
Address match code (Slave mode)
Trait Implementationsยง
impl Copy for Isr
impl Eq for Isr
impl StructuralEq for Isr
impl StructuralPartialEq for Isr
Auto Trait Implementationsยง
impl RefUnwindSafe for Isr
impl Send for Isr
impl Sync for Isr
impl Unpin for Isr
impl UnwindSafe for Isr
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