[−][src]Struct stm32g0::stm32g0x0::pwr::cr1::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn lpr(&mut self) -> _LPRW
[src]
Bit 14 - Low-power run
pub fn vos(&mut self) -> _VOSW
[src]
Bits 9:10 - Voltage scaling range selection
pub fn dbp(&mut self) -> _DBPW
[src]
Bit 8 - Disable backup domain write protection
pub fn fpd_lpslp(&mut self) -> _FPD_LPSLPW
[src]
Bit 5 - Flash memory powered down during Low-power sleep mode
pub fn fpd_lprun(&mut self) -> _FPD_LPRUNW
[src]
Bit 4 - Flash memory powered down during Low-power run mode
pub fn fpd_stop(&mut self) -> _FPD_STOPW
[src]
Bit 3 - Flash memory powered down during Stop mode
pub fn lpms(&mut self) -> _LPMSW
[src]
Bits 0:2 - Low-power mode selection
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self