Struct stm32wlxx_hal::pac::flash::cr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CR
writer
Implementations§
§impl W
impl W
pub fn optstrt(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, OPTSTRT_AW, BitM, 17>
pub fn optstrt( &mut self ) -> BitWriterRaw<'_, u32, CR_SPEC, OPTSTRT_AW, BitM, 17>
Bit 17 - Options modification start
pub fn fstpg(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, FSTPG_A, BitM, 18>
pub fn fstpg(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, FSTPG_A, BitM, 18>
Bit 18 - Fast programming
pub 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
pub fn errie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ERRIE_A, BitM, 25>
pub fn errie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ERRIE_A, BitM, 25>
Bit 25 - Error interrupt enable
pub fn rderrie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, RDERRIE_A, BitM, 26>
pub fn rderrie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, RDERRIE_A, BitM, 26>
Bit 26 - PCROP read error interrupt enable
pub fn obl_launch(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, OBL_LAUNCH_AW, BitM, 27>
pub fn obl_launch( &mut self ) -> BitWriterRaw<'_, u32, CR_SPEC, OBL_LAUNCH_AW, BitM, 27>
Bit 27 - Force the option byte loading
pub fn optlock(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, OPTLOCK_AW, BitM, 30>
pub fn optlock( &mut self ) -> BitWriterRaw<'_, u32, CR_SPEC, OPTLOCK_AW, BitM, 30>
Bit 30 - Options Lock
Methods from Deref<Target = W<CR_SPEC>>§
pub 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§
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