pub struct CR2_SPEC;
Expand description
This register is not reset by wakeup from Standby mode, RESET signal and VDD POR. It is only reset by VSW POR and VSWRST reset. This register shall not be accessed when VSWRST bit in RCC_BDCR register resets the VSW domain.After reset, PWR_CR2 register is write-protected. Prior to modifying its content, the DBP bit in PWR_CR1 register must be set to disable the write protection.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see cr2 module
Trait Implementations
sourceimpl RegisterSpec for CR2_SPEC
impl RegisterSpec for CR2_SPEC
sourceimpl Resettable for CR2_SPEC
impl Resettable for CR2_SPEC
reset()
method sets CR2 to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Auto Trait Implementations
impl RefUnwindSafe for CR2_SPEC
impl Send for CR2_SPEC
impl Sync for CR2_SPEC
impl Unpin for CR2_SPEC
impl UnwindSafe for CR2_SPEC
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