Struct stm32wlxx_hal::pac::flash::acr2::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register ACR2
writer
Implementations§
§impl W
impl W
pub fn privmode(&mut self) -> BitWriterRaw<'_, u32, ACR2_SPEC, bool, BitM, 0>
pub fn privmode(&mut self) -> BitWriterRaw<'_, u32, ACR2_SPEC, bool, BitM, 0>
Bit 0 - CFI privileged mode enable
pub fn hdpadis(&mut self) -> BitWriterRaw<'_, u32, ACR2_SPEC, bool, BitM, 1>
pub fn hdpadis(&mut self) -> BitWriterRaw<'_, u32, ACR2_SPEC, bool, BitM, 1>
Bit 1 - Flash user hide protection area access disable
Methods from Deref<Target = W<ACR2_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