pub struct W(_);
Expand description
Register SR
writer
Implementations
sourceimpl W
impl W
sourcepub fn eop(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, EOP_A, BitM, 1>
pub fn eop(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, EOP_A, BitM, 1>
Bit 1 - End of operation
sourcepub fn wrperr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, WRPERR_AW, BitM, 8>
pub fn wrperr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, WRPERR_AW, BitM, 8>
Bit 8 - Write protected error
sourcepub fn pgaerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, PGAERR_AW, BitM, 9>
pub fn pgaerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, PGAERR_AW, BitM, 9>
Bit 9 - Programming alignment error
sourcepub fn sizerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, SIZERR_AW, BitM, 10>
pub fn sizerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, SIZERR_AW, BitM, 10>
Bit 10 - Size error
sourcepub fn optverr(
&mut self
) -> BitWriterRaw<'_, u32, SR_SPEC, OPTVERR_AW, BitM, 11>
pub fn optverr(
&mut self
) -> BitWriterRaw<'_, u32, SR_SPEC, OPTVERR_AW, BitM, 11>
Bit 11 - Option validity error
sourcepub fn notzeroerr(
&mut self
) -> BitWriterRaw<'_, u32, SR_SPEC, NOTZEROERR_AW, BitM, 16>
pub fn notzeroerr(
&mut self
) -> BitWriterRaw<'_, u32, SR_SPEC, NOTZEROERR_AW, BitM, 16>
Bit 16 - NOTZEROERR
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
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