pub struct W(_);
Expand description
Register M2SR
writer
Implementations
sourceimpl W
impl W
sourcepub fn sedcf(&mut self) -> BitWriterRaw<'_, u32, M2SR_SPEC, bool, BitM, 0>
pub fn sedcf(&mut self) -> BitWriterRaw<'_, u32, M2SR_SPEC, bool, BitM, 0>
Bit 0 - ECC single error detected and corrected flag
sourcepub fn dedf(&mut self) -> BitWriterRaw<'_, u32, M2SR_SPEC, bool, BitM, 1>
pub fn dedf(&mut self) -> BitWriterRaw<'_, u32, M2SR_SPEC, bool, BitM, 1>
Bit 1 - ECC double error detected flag
Methods from Deref<Target = W<M2SR_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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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