pub struct W(_);
Expand description
Register CR1
writer
Implementations
sourceimpl W
impl W
sourcepub fn lpds(&mut self) -> LPDS_W<'_, 0>
pub fn lpds(&mut self) -> LPDS_W<'_, 0>
Bit 0 - Low-power Deepsleep with SVOS3 (SVOS4 and SVOS5 always use low-power, regardless of the setting of this bit)
sourcepub fn pls(&mut self) -> PLS_W<'_, 5>
pub fn pls(&mut self) -> PLS_W<'_, 5>
Bits 5:7 - Programmable voltage detector level selection These bits select the voltage threshold detected by the PVD. Note: Refer to Section Electrical characteristics of the product datasheet for more details.
sourcepub fn dbp(&mut self) -> DBP_W<'_, 8>
pub fn dbp(&mut self) -> DBP_W<'_, 8>
Bit 8 - Disable backup domain write protection In reset state, the RCC_BDCR register, the RTC registers (including the backup registers), BREN and MOEN bits in PWR_CR2 register, are protected against parasitic write access. This bit must be set to enable write access to these registers.
sourcepub fn flps(&mut self) -> FLPS_W<'_, 9>
pub fn flps(&mut self) -> FLPS_W<'_, 9>
Bit 9 - Flash low-power mode in DStop mode This bit allows to obtain the best trade-off between low-power consumption and restart time when exiting from DStop mode. When it is set, the Flash memory enters low-power mode when D1 domain is in DStop mode.
sourcepub fn svos(&mut self) -> SVOS_W<'_, 14>
pub fn svos(&mut self) -> SVOS_W<'_, 14>
Bits 14:15 - System Stop mode voltage scaling selection These bits control the VCORE voltage level in system Stop mode, to obtain the best trade-off between power consumption and performance.
Methods from Deref<Target = W<CR1_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more