pub struct W(/* private fields */);
Expand description
Register SR
writer
Implementations§
source§impl W
impl W
sourcepub fn eop(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 0>
pub fn eop(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 0>
Bit 0 - End of operation
sourcepub fn operr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 1>
pub fn operr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 1>
Bit 1 - Operation error
sourcepub fn wrperr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 4>
pub fn wrperr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 4>
Bit 4 - Write protection error
sourcepub fn pgaerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 5>
pub fn pgaerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 5>
Bit 5 - Programming alignment error
sourcepub fn pgperr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 6>
pub fn pgperr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 6>
Bit 6 - Programming parallelism error
Methods from Deref<Target = W<SR_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
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