Struct stm32wlxx_hal::pac::pwr::c2cr1::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C2CR1
writer
Implementations§
§impl W
impl W
pub fn fpds(&mut self) -> BitWriterRaw<'_, u32, C2CR1_SPEC, FPDS_A, BitM, 5>
pub fn fpds(&mut self) -> BitWriterRaw<'_, u32, C2CR1_SPEC, FPDS_A, BitM, 5>
Bit 5 - Flash memory power down mode during LPSleep for CPU2
pub fn fpdr(&mut self) -> BitWriterRaw<'_, u32, C2CR1_SPEC, FPDR_A, BitM, 4>
pub fn fpdr(&mut self) -> BitWriterRaw<'_, u32, C2CR1_SPEC, FPDR_A, BitM, 4>
Bit 4 - Flash memory power down mode during LPRun for CPU2
pub fn lpms(
&mut self
) -> FieldWriterRaw<'_, u32, C2CR1_SPEC, u8, LPMS_A, Unsafe, 3, 0>
pub fn lpms( &mut self ) -> FieldWriterRaw<'_, u32, C2CR1_SPEC, u8, LPMS_A, Unsafe, 3, 0>
Bits 0:2 - Low-power mode selection for CPU2
Methods from Deref<Target = W<C2CR1_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<C2CR1_SPEC>> for W
impl From<W<C2CR1_SPEC>> for W
§fn from(writer: W<C2CR1_SPEC>) -> W
fn from(writer: W<C2CR1_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