pub struct W(_);
Expand description
Register STAT
writer
Implementations
sourceimpl W
impl W
sourcepub fn mstarbloss(&mut self) -> MSTARBLOSS_W<'_>
pub fn mstarbloss(&mut self) -> MSTARBLOSS_W<'_>
Bit 4 - Master Arbitration Loss flag. This flag can be cleared by software writing a 1 to this bit. It is also cleared automatically a 1 is written to MSTCONTINUE.
sourcepub fn mstststperr(&mut self) -> MSTSTSTPERR_W<'_>
pub fn mstststperr(&mut self) -> MSTSTSTPERR_W<'_>
Bit 6 - Master Start/Stop Error flag. This flag can be cleared by software writing a 1 to this bit. It is also cleared automatically a 1 is written to MSTCONTINUE.
sourcepub fn slvdesel(&mut self) -> SLVDESEL_W<'_>
pub fn slvdesel(&mut self) -> SLVDESEL_W<'_>
Bit 15 - Slave Deselected flag. This flag will cause an interrupt when set if enabled via INTENSET. This flag can be cleared by writing a 1 to this bit.
sourcepub fn monidle(&mut self) -> MONIDLE_W<'_>
pub fn monidle(&mut self) -> MONIDLE_W<'_>
Bit 19 - Monitor Idle flag. This flag is set when the Monitor function sees the I2C bus change from active to inactive. This can be used by software to decide when to process data accumulated by the Monitor function. This flag will cause an interrupt when set if enabled via the INTENSET register. The flag can be cleared by writing a 1 to this bit.
sourcepub fn eventtimeout(&mut self) -> EVENTTIMEOUT_W<'_>
pub fn eventtimeout(&mut self) -> EVENTTIMEOUT_W<'_>
Bit 24 - Event Time-out Interrupt flag. Indicates when the time between events has been longer than the time specified by the TIMEOUT register. Events include Start, Stop, and clock edges. The flag is cleared by writing a 1 to this bit. No time-out is created when the I2C-bus is idle.
sourcepub fn scltimeout(&mut self) -> SCLTIMEOUT_W<'_>
pub fn scltimeout(&mut self) -> SCLTIMEOUT_W<'_>
Bit 25 - SCL Time-out Interrupt flag. Indicates when SCL has remained low longer than the time specific by the TIMEOUT register. The flag is cleared by writing a 1 to this bit.
Methods from Deref<Target = W<STAT_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more