#[repr(transparent)]pub struct Intenset(pub u32);Expand description
Interrupt Enable Set and read register.
Tuple Fields§
§0: u32Implementations§
Source§impl Intenset
impl Intenset
Sourcepub const fn mstpendingen(&self) -> bool
pub const fn mstpendingen(&self) -> bool
Master Pending interrupt Enable.
Sourcepub const fn set_mstpendingen(&mut self, val: bool)
pub const fn set_mstpendingen(&mut self, val: bool)
Master Pending interrupt Enable.
Sourcepub const fn mstarblossen(&self) -> bool
pub const fn mstarblossen(&self) -> bool
Master Arbitration Loss interrupt Enable.
Sourcepub const fn set_mstarblossen(&mut self, val: bool)
pub const fn set_mstarblossen(&mut self, val: bool)
Master Arbitration Loss interrupt Enable.
Sourcepub const fn mstststperren(&self) -> bool
pub const fn mstststperren(&self) -> bool
Master Start/Stop Error interrupt Enable.
Sourcepub const fn set_mstststperren(&mut self, val: bool)
pub const fn set_mstststperren(&mut self, val: bool)
Master Start/Stop Error interrupt Enable.
Sourcepub const fn slvpendingen(&self) -> bool
pub const fn slvpendingen(&self) -> bool
Slave Pending interrupt Enable.
Sourcepub const fn set_slvpendingen(&mut self, val: bool)
pub const fn set_slvpendingen(&mut self, val: bool)
Slave Pending interrupt Enable.
Sourcepub const fn slvnotstren(&self) -> bool
pub const fn slvnotstren(&self) -> bool
Slave Not Stretching interrupt Enable.
Sourcepub const fn set_slvnotstren(&mut self, val: bool)
pub const fn set_slvnotstren(&mut self, val: bool)
Slave Not Stretching interrupt Enable.
Sourcepub const fn slvdeselen(&self) -> bool
pub const fn slvdeselen(&self) -> bool
Slave Deselect interrupt Enable.
Sourcepub const fn set_slvdeselen(&mut self, val: bool)
pub const fn set_slvdeselen(&mut self, val: bool)
Slave Deselect interrupt Enable.
Sourcepub const fn set_monrdyen(&mut self, val: bool)
pub const fn set_monrdyen(&mut self, val: bool)
Monitor data Ready interrupt Enable.
Sourcepub const fn set_monoven(&mut self, val: bool)
pub const fn set_monoven(&mut self, val: bool)
Monitor Overrun interrupt Enable.
Sourcepub const fn set_monidleen(&mut self, val: bool)
pub const fn set_monidleen(&mut self, val: bool)
Monitor Idle interrupt Enable.
Sourcepub const fn eventtimeouten(&self) -> bool
pub const fn eventtimeouten(&self) -> bool
Event time-out interrupt Enable.
Sourcepub const fn set_eventtimeouten(&mut self, val: bool)
pub const fn set_eventtimeouten(&mut self, val: bool)
Event time-out interrupt Enable.
Sourcepub const fn scltimeouten(&self) -> bool
pub const fn scltimeouten(&self) -> bool
SCL time-out interrupt Enable.
Sourcepub const fn set_scltimeouten(&mut self, val: bool)
pub const fn set_scltimeouten(&mut self, val: bool)
SCL time-out interrupt Enable.
Trait Implementations§
impl Copy for Intenset
impl Eq for Intenset
impl StructuralPartialEq for Intenset
Auto Trait Implementations§
impl Freeze for Intenset
impl RefUnwindSafe for Intenset
impl Send for Intenset
impl Sync for Intenset
impl Unpin for Intenset
impl UnwindSafe for Intenset
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