[][src]Struct nrf52::power::ram::powerset::W

pub struct W { /* fields omitted */ }

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 s0power(&mut self) -> _S0POWERW[src]

Bit 0 - Keep RAM section S0 of RAM0 on or off in System ON mode

pub fn s1power(&mut self) -> _S1POWERW[src]

Bit 1 - Keep RAM section S1 of RAM0 on or off in System ON mode

pub fn s0retention(&mut self) -> _S0RETENTIONW[src]

Bit 16 - Keep retention on RAM section S0 when RAM section is switched off

pub fn s1retention(&mut self) -> _S1RETENTIONW[src]

Bit 17 - Keep retention on RAM section S1 when RAM section is switched off

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self