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