#[repr(transparent)]pub struct Intstat(pub u32);Expand description
Interrupt Status register for Master, Slave, and Monitor functions.
Tuple Fields§
§0: u32Implementations§
Source§impl Intstat
impl Intstat
Sourcepub const fn mstpending(&self) -> bool
pub const fn mstpending(&self) -> bool
Master Pending.
Sourcepub const fn set_mstpending(&mut self, val: bool)
pub const fn set_mstpending(&mut self, val: bool)
Master Pending.
Sourcepub const fn mstarbloss(&self) -> bool
pub const fn mstarbloss(&self) -> bool
Master Arbitration Loss flag.
Sourcepub const fn set_mstarbloss(&mut self, val: bool)
pub const fn set_mstarbloss(&mut self, val: bool)
Master Arbitration Loss flag.
Sourcepub const fn mstststperr(&self) -> bool
pub const fn mstststperr(&self) -> bool
Master Start/Stop Error flag.
Sourcepub const fn set_mstststperr(&mut self, val: bool)
pub const fn set_mstststperr(&mut self, val: bool)
Master Start/Stop Error flag.
Sourcepub const fn slvpending(&self) -> bool
pub const fn slvpending(&self) -> bool
Slave Pending.
Sourcepub const fn set_slvpending(&mut self, val: bool)
pub const fn set_slvpending(&mut self, val: bool)
Slave Pending.
Sourcepub const fn set_slvnotstr(&mut self, val: bool)
pub const fn set_slvnotstr(&mut self, val: bool)
Slave Not Stretching status.
Sourcepub const fn set_slvdesel(&mut self, val: bool)
pub const fn set_slvdesel(&mut self, val: bool)
Slave Deselected flag.
Sourcepub const fn set_monrdy(&mut self, val: bool)
pub const fn set_monrdy(&mut self, val: bool)
Monitor Ready.
Sourcepub const fn set_monidle(&mut self, val: bool)
pub const fn set_monidle(&mut self, val: bool)
Monitor Idle flag.
Sourcepub const fn eventtimeout(&self) -> bool
pub const fn eventtimeout(&self) -> bool
Event time-out Interrupt flag.
Sourcepub const fn set_eventtimeout(&mut self, val: bool)
pub const fn set_eventtimeout(&mut self, val: bool)
Event time-out Interrupt flag.
Sourcepub const fn scltimeout(&self) -> bool
pub const fn scltimeout(&self) -> bool
SCL time-out Interrupt flag.
Sourcepub const fn set_scltimeout(&mut self, val: bool)
pub const fn set_scltimeout(&mut self, val: bool)
SCL time-out Interrupt flag.
Trait Implementations§
impl Copy for Intstat
impl Eq for Intstat
impl StructuralPartialEq for Intstat
Auto Trait Implementations§
impl Freeze for Intstat
impl RefUnwindSafe for Intstat
impl Send for Intstat
impl Sync for Intstat
impl Unpin for Intstat
impl UnwindSafe for Intstat
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