pub struct MSTSTSTPERR_W<'a> { /* private fields */ }
Expand description
Field MSTSTSTPERR
writer - 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.
Implementations
sourceimpl<'a> MSTSTSTPERR_W<'a>
impl<'a> MSTSTSTPERR_W<'a>
sourcepub fn variant(self, variant: MSTSTSTPERR_A) -> &'a mut W
pub fn variant(self, variant: MSTSTSTPERR_A) -> &'a mut W
Writes variant
to the field
sourcepub fn error(self) -> &'a mut W
pub fn error(self) -> &'a mut W
The Master function has experienced a Start/Stop Error. A Start or Stop was detected at a time when it is not allowed by the I2C specification. The Master interface has stopped driving the bus and gone to an idle state, no action is required. A request for a Start could be made, or software could attempt to insure that the bus has not stalled.
Auto Trait Implementations
impl<'a> RefUnwindSafe for MSTSTSTPERR_W<'a>
impl<'a> Send for MSTSTSTPERR_W<'a>
impl<'a> Sync for MSTSTSTPERR_W<'a>
impl<'a> Unpin for MSTSTSTPERR_W<'a>
impl<'a> !UnwindSafe for MSTSTSTPERR_W<'a>
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