pub struct R(/* private fields */);
Expand description
Register CR1
reader
Implementations§
§impl R
impl R
pub fn lpds(&self) -> BitReaderRaw<bool>
pub fn lpds(&self) -> BitReaderRaw<bool>
Bit 0 - Low-power Deepsleep with SVOS3 (SVOS4 and SVOS5 always use low-power, regardless of the setting of this bit)
pub fn pls(&self) -> FieldReaderRaw<u8, u8>
pub fn pls(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn dbp(&self) -> BitReaderRaw<bool>
pub fn dbp(&self) -> BitReaderRaw<bool>
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.
pub fn flps(&self) -> BitReaderRaw<bool>
pub fn flps(&self) -> BitReaderRaw<bool>
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.
Methods from Deref<Target = R<CR1_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.