Struct stm32wlxx_hal::pac::flash::c2cr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C2CR
writer
Implementations§
§impl W
impl W
pub fn pnb(&mut self) -> FieldWriterRaw<'_, u32, C2CR_SPEC, u8, u8, Safe, 7, 3>
pub fn pnb(&mut self) -> FieldWriterRaw<'_, u32, C2CR_SPEC, u8, u8, Safe, 7, 3>
Bits 3:9 - Page number selection
pub fn fstpg(&mut self) -> BitWriterRaw<'_, u32, C2CR_SPEC, FSTPG_A, BitM, 18>
pub fn fstpg(&mut self) -> BitWriterRaw<'_, u32, C2CR_SPEC, FSTPG_A, BitM, 18>
Bit 18 - Fast programming
pub fn eopie(&mut self) -> BitWriterRaw<'_, u32, C2CR_SPEC, EOPIE_A, BitM, 24>
pub fn eopie(&mut self) -> BitWriterRaw<'_, u32, C2CR_SPEC, EOPIE_A, BitM, 24>
Bit 24 - End of operation interrupt enable
pub fn errie(&mut self) -> BitWriterRaw<'_, u32, C2CR_SPEC, ERRIE_A, BitM, 25>
pub fn errie(&mut self) -> BitWriterRaw<'_, u32, C2CR_SPEC, ERRIE_A, BitM, 25>
Bit 25 - Error interrupt enable
Methods from Deref<Target = W<C2CR_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