Struct W

Source
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Source§

impl W

Source

pub fn reset_value() -> W

Reset value of the register

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

Source

pub fn lprun(&mut self) -> _LPRUNW<'_>

Bit 14 - Low power run mode

Source

pub fn vos(&mut self) -> _VOSW<'_>

Bits 11:12 - Voltage scaling range selection

Source

pub fn fwu(&mut self) -> _FWUW<'_>

Bit 10 - Fast wakeup

Source

pub fn ulp(&mut self) -> _ULPW<'_>

Bit 9 - Ultralow power mode

Source

pub fn dbp(&mut self) -> _DBPW<'_>

Bit 8 - Disable backup domain write protection

Source

pub fn pls(&mut self) -> _PLSW<'_>

Bits 5:7 - PVD level selection

Source

pub fn pvde(&mut self) -> _PVDEW<'_>

Bit 4 - Power voltage detector enable

Source

pub fn csbf(&mut self) -> _CSBFW<'_>

Bit 3 - Clear standby flag

Source

pub fn cwuf(&mut self) -> _CWUFW<'_>

Bit 2 - Clear wakeup flag

Source

pub fn pdds(&mut self) -> _PDDSW<'_>

Bit 1 - Power down deepsleep

Source

pub fn lpsdsr(&mut self) -> _LPSDSRW<'_>

Bit 0 - Low-power deep sleep

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.