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 StructuralPartialEq for Isr
Auto Trait Implementations§
impl Freeze for Isr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)