nrf52840_pac::power::ram::power

# Struct 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

#### type Target = T

🔬This is a nightly-only experimental API. (`arbitrary_self_types`)
The target type on which the method may be called.
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.