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 blbset(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 3>
pub fn blbset(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 3>
Bit 3 - Boot Lock Bit Set
sourcepub fn rwwsre(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 4>
pub fn rwwsre(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 4>
Bit 4 - Read While Write section read enable
sourcepub fn sigrd(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 5>
pub fn sigrd(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 5>
Bit 5 - Signature Row Read
sourcepub fn rwwsb(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 6>
pub fn rwwsb(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 6>
Bit 6 - Read While Write Section Busy
sourcepub fn spmie(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 7>
pub fn spmie(&mut self) -> BitWriterRaw<'_, u8, SPMCSR_SPEC, bool, BitM, 7>
Bit 7 - SPM Interrupt Enable