pub struct W(_);
Expand description
Register CR
writer
Implementations§
source§impl W
impl W
sourcepub fn optpg(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
pub fn optpg(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
Bit 4 - Option byte programming
sourcepub fn opter(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 5>
pub fn opter(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 5>
Bit 5 - Option byte erase
sourcepub fn optwre(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 9>
pub fn optwre(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 9>
Bit 9 - Option bytes write enable
sourcepub fn errie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 10>
pub fn errie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 10>
Bit 10 - Error 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.