Struct nrf52840_pac::power::ram::power::R

source ·
pub struct R(/* private fields */);
Expand description

Register POWER reader

Implementations§

source§

impl R

source

pub fn s0power(&self) -> S0POWER_R

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

source

pub fn s1power(&self) -> S1POWER_R

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

source

pub fn s2power(&self) -> S2POWER_R

Bit 2 - Keep RAM section S2 on or off in System ON mode.

source

pub fn s3power(&self) -> S3POWER_R

Bit 3 - Keep RAM section S3 on or off in System ON mode.

source

pub fn s4power(&self) -> S4POWER_R

Bit 4 - Keep RAM section S4 on or off in System ON mode.

source

pub fn s5power(&self) -> S5POWER_R

Bit 5 - Keep RAM section S5 on or off in System ON mode.

source

pub fn s6power(&self) -> S6POWER_R

Bit 6 - Keep RAM section S6 on or off in System ON mode.

source

pub fn s7power(&self) -> S7POWER_R

Bit 7 - Keep RAM section S7 on or off in System ON mode.

source

pub fn s8power(&self) -> S8POWER_R

Bit 8 - Keep RAM section S8 on or off in System ON mode.

source

pub fn s9power(&self) -> S9POWER_R

Bit 9 - Keep RAM section S9 on or off in System ON mode.

source

pub fn s10power(&self) -> S10POWER_R

Bit 10 - Keep RAM section S10 on or off in System ON mode.

source

pub fn s11power(&self) -> S11POWER_R

Bit 11 - Keep RAM section S11 on or off in System ON mode.

source

pub fn s12power(&self) -> S12POWER_R

Bit 12 - Keep RAM section S12 on or off in System ON mode.

source

pub fn s13power(&self) -> S13POWER_R

Bit 13 - Keep RAM section S13 on or off in System ON mode.

source

pub fn s14power(&self) -> S14POWER_R

Bit 14 - Keep RAM section S14 on or off in System ON mode.

source

pub fn s15power(&self) -> S15POWER_R

Bit 15 - Keep RAM section S15 on or off in System ON mode.

source

pub fn s0retention(&self) -> S0RETENTION_R

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

source

pub fn s1retention(&self) -> S1RETENTION_R

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

source

pub fn s2retention(&self) -> S2RETENTION_R

Bit 18 - Keep retention on RAM section S2 when RAM section is off

source

pub fn s3retention(&self) -> S3RETENTION_R

Bit 19 - Keep retention on RAM section S3 when RAM section is off

source

pub fn s4retention(&self) -> S4RETENTION_R

Bit 20 - Keep retention on RAM section S4 when RAM section is off

source

pub fn s5retention(&self) -> S5RETENTION_R

Bit 21 - Keep retention on RAM section S5 when RAM section is off

source

pub fn s6retention(&self) -> S6RETENTION_R

Bit 22 - Keep retention on RAM section S6 when RAM section is off

source

pub fn s7retention(&self) -> S7RETENTION_R

Bit 23 - Keep retention on RAM section S7 when RAM section is off

source

pub fn s8retention(&self) -> S8RETENTION_R

Bit 24 - Keep retention on RAM section S8 when RAM section is off

source

pub fn s9retention(&self) -> S9RETENTION_R

Bit 25 - Keep retention on RAM section S9 when RAM section is off

source

pub fn s10retention(&self) -> S10RETENTION_R

Bit 26 - Keep retention on RAM section S10 when RAM section is off

source

pub fn s11retention(&self) -> S11RETENTION_R

Bit 27 - Keep retention on RAM section S11 when RAM section is off

source

pub fn s12retention(&self) -> S12RETENTION_R

Bit 28 - Keep retention on RAM section S12 when RAM section is off

source

pub fn s13retention(&self) -> S13RETENTION_R

Bit 29 - Keep retention on RAM section S13 when RAM section is off

source

pub fn s14retention(&self) -> S14RETENTION_R

Bit 30 - Keep retention on RAM section S14 when RAM section is off

source

pub fn s15retention(&self) -> S15RETENTION_R

Bit 31 - Keep retention on RAM section S15 when RAM section is off

Methods from Deref<Target = R<POWER_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

source§

type Target = R<POWER_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<POWER_SPEC>> for R

source§

fn from(reader: R<POWER_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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.