pub struct W(_);
Expand description
Register CTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn obrld(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, OBRLD_A, BitM, 13_u8>
pub fn obrld(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, OBRLD_A, BitM, 13_u8>
Bit 13 - Option byte reload bit
sourcepub fn endie(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, ENDIE_A, BitM, 12_u8>
pub fn endie(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, ENDIE_A, BitM, 12_u8>
Bit 12 - End of operation interrupt enable
sourcepub fn errie(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, ERRIE_A, BitM, 10_u8>
pub fn errie(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, ERRIE_A, BitM, 10_u8>
Bit 10 - Error interrupt enable
sourcepub fn obwen(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, OBWEN_AW, BitM, 9_u8>
pub fn obwen(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, OBWEN_AW, BitM, 9_u8>
Bit 9 - Option byte erase/program enable bit
sourcepub fn lk(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, LK_AW, BitM, 7_u8>
pub fn lk(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, LK_AW, BitM, 7_u8>
Bit 7 - FMC_CTL lock bit
sourcepub fn start(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, START_A, BitM, 6_u8>
pub fn start(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, START_A, BitM, 6_u8>
Bit 6 - Send erase command to FMC bit
sourcepub fn ober(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, OBER_A, BitM, 5_u8>
pub fn ober(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, OBER_A, BitM, 5_u8>
Bit 5 - Option byte erase command bit
sourcepub fn obpg(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, OBPG_A, BitM, 4_u8>
pub fn obpg(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, OBPG_A, BitM, 4_u8>
Bit 4 - Option byte program command bit
sourcepub fn mer(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, MER_A, BitM, 2_u8>
pub fn mer(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, MER_A, BitM, 2_u8>
Bit 2 - Main flash mass erase command bit
sourcepub fn per(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, PER_A, BitM, 1_u8>
pub fn per(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, PER_A, BitM, 1_u8>
Bit 1 - Main flash page erase command bit
Methods from Deref<Target = W<CTL_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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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