Struct stm32wlxx_hal::pac::flash::c2acr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C2ACR
writer
Implementations§
§impl W
impl W
pub fn prften(&mut self) -> BitWriterRaw<'_, u32, C2ACR_SPEC, PRFTEN_A, BitM, 8>
pub fn prften(&mut self) -> BitWriterRaw<'_, u32, C2ACR_SPEC, PRFTEN_A, BitM, 8>
Bit 8 - CPU2 Prefetch enable
pub fn icen(&mut self) -> BitWriterRaw<'_, u32, C2ACR_SPEC, ICEN_A, BitM, 9>
pub fn icen(&mut self) -> BitWriterRaw<'_, u32, C2ACR_SPEC, ICEN_A, BitM, 9>
Bit 9 - CPU2 Instruction cache enable
pub fn icrst(&mut self) -> BitWriterRaw<'_, u32, C2ACR_SPEC, ICRST_A, BitM, 11>
pub fn icrst(&mut self) -> BitWriterRaw<'_, u32, C2ACR_SPEC, ICRST_A, BitM, 11>
Bit 11 - CPU2 Instruction cache reset
pub fn pes(&mut self) -> BitWriterRaw<'_, u32, C2ACR_SPEC, PES_A, BitM, 15>
pub fn pes(&mut self) -> BitWriterRaw<'_, u32, C2ACR_SPEC, PES_A, BitM, 15>
Bit 15 - CPU2 program / erase suspend request
Methods from Deref<Target = W<C2ACR_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§
§impl From<W<C2ACR_SPEC>> for W
impl From<W<C2ACR_SPEC>> for W
§fn from(writer: W<C2ACR_SPEC>) -> W
fn from(writer: W<C2ACR_SPEC>) -> W
Converts to this type from the input type.
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