pub struct W(/* private fields */);
Expand description
Register SPMCSR
writer
Implementations§
source§impl W
impl W
sourcepub fn spmen(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 0>
pub fn spmen(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 0>
Bit 0 - Store Program Memory Enable
sourcepub fn pgers(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 1>
pub fn pgers(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 1>
Bit 1 - Page Erase
sourcepub fn pgwrt(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 2>
pub fn pgwrt(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 2>
Bit 2 - Page Write
sourcepub fn rflb(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 3>
pub fn rflb(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 3>
Bit 3 - Read fuse and lock bits
sourcepub fn ctpb(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 4>
pub fn ctpb(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 4>
Bit 4 - Clear temporary page buffer
sourcepub fn rsig(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 5>
pub fn rsig(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 5>
Bit 5 - Read Device Signature Imprint Table
Methods from Deref<Target = W<SPMCSR_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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