pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn snb(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 4, 3>
pub fn snb(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 4, 3>
Bits 3:6 - Sector number
sourcepub fn psize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Safe, 2, 8>
pub fn psize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Safe, 2, 8>
Bits 8:9 - Program size
sourcepub fn eopie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, EOPIE_A, BitM, 24>
pub fn eopie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, EOPIE_A, BitM, 24>
Bit 24 - End of operation interrupt enable
Methods from Deref<Target = W<CR_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