Struct nrf52840_hal::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) -> BitReaderRaw<S0POWER_A>

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

source

pub fn s1power(&self) -> BitReaderRaw<S1POWER_A>

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

source

pub fn s2power(&self) -> BitReaderRaw<S2POWER_A>

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

source

pub fn s3power(&self) -> BitReaderRaw<S3POWER_A>

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

source

pub fn s4power(&self) -> BitReaderRaw<S4POWER_A>

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

source

pub fn s5power(&self) -> BitReaderRaw<S5POWER_A>

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

source

pub fn s6power(&self) -> BitReaderRaw<S6POWER_A>

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

source

pub fn s7power(&self) -> BitReaderRaw<S7POWER_A>

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

source

pub fn s8power(&self) -> BitReaderRaw<S8POWER_A>

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

source

pub fn s9power(&self) -> BitReaderRaw<S9POWER_A>

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

source

pub fn s10power(&self) -> BitReaderRaw<S10POWER_A>

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

source

pub fn s11power(&self) -> BitReaderRaw<S11POWER_A>

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

source

pub fn s12power(&self) -> BitReaderRaw<S12POWER_A>

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

source

pub fn s13power(&self) -> BitReaderRaw<S13POWER_A>

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

source

pub fn s14power(&self) -> BitReaderRaw<S14POWER_A>

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

source

pub fn s15power(&self) -> BitReaderRaw<S15POWER_A>

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

source

pub fn s0retention(&self) -> BitReaderRaw<S0RETENTION_A>

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

source

pub fn s1retention(&self) -> BitReaderRaw<S1RETENTION_A>

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

source

pub fn s2retention(&self) -> BitReaderRaw<S2RETENTION_A>

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

source

pub fn s3retention(&self) -> BitReaderRaw<S3RETENTION_A>

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

source

pub fn s4retention(&self) -> BitReaderRaw<S4RETENTION_A>

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

source

pub fn s5retention(&self) -> BitReaderRaw<S5RETENTION_A>

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

source

pub fn s6retention(&self) -> BitReaderRaw<S6RETENTION_A>

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

source

pub fn s7retention(&self) -> BitReaderRaw<S7RETENTION_A>

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

source

pub fn s8retention(&self) -> BitReaderRaw<S8RETENTION_A>

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

source

pub fn s9retention(&self) -> BitReaderRaw<S9RETENTION_A>

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

source

pub fn s10retention(&self) -> BitReaderRaw<S10RETENTION_A>

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

source

pub fn s11retention(&self) -> BitReaderRaw<S11RETENTION_A>

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

source

pub fn s12retention(&self) -> BitReaderRaw<S12RETENTION_A>

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

source

pub fn s13retention(&self) -> BitReaderRaw<S13RETENTION_A>

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

source

pub fn s14retention(&self) -> BitReaderRaw<S14RETENTION_A>

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

source

pub fn s15retention(&self) -> BitReaderRaw<S15RETENTION_A>

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 as RegisterSpec>::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<POWER_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &<R as Deref>::Target

Dereferences the value.
source§

impl From<R<POWER_SPEC>> for R

source§

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

Converts to this type from the input type.

Auto Trait Implementations§

§

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> Az for T

source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
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<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

source§

fn cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> CheckedAs for T

source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
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<Src, Dst> LosslessTryInto<Dst> for Src
where Dst: LosslessTryFrom<Src>,

source§

fn lossless_try_into(self) -> Option<Dst>

Performs the conversion.
source§

impl<Src, Dst> LossyInto<Dst> for Src
where Dst: LossyFrom<Src>,

source§

fn lossy_into(self) -> Dst

Performs the conversion.
source§

impl<T> OverflowingAs for T

source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SaturatingAs for T

source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
source§

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

§

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>,

§

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.
source§

impl<T> UnwrappedAs for T

source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> WrappingAs for T

source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.