nrf-pac

Crates

git

Versions

nrf54l15-app

Flavors

nrf_pac::memconf::regs

Struct Ret2

Source
#[repr(transparent)]
pub struct Ret2(pub u32);
Expand description

Description cluster: RAM retention for the second bank in the RAM block

Tuple Fields§

§0: u32

Implementations§

Source§

impl Ret2

Source

pub const fn mem0(&self) -> bool

Keep the second bank in RAM block MEM[0] retained when in System OFF mode.

Source

pub fn set_mem0(&mut self, val: bool)

Keep the second bank in RAM block MEM[0] retained when in System OFF mode.

Source

pub const fn mem1(&self) -> bool

Keep the second bank in RAM block MEM[1] retained when in System OFF mode.

Source

pub fn set_mem1(&mut self, val: bool)

Keep the second bank in RAM block MEM[1] retained when in System OFF mode.

Source

pub const fn mem2(&self) -> bool

Keep the second bank in RAM block MEM[2] retained when in System OFF mode.

Source

pub fn set_mem2(&mut self, val: bool)

Keep the second bank in RAM block MEM[2] retained when in System OFF mode.

Source

pub const fn mem3(&self) -> bool

Keep the second bank in RAM block MEM[3] retained when in System OFF mode.

Source

pub fn set_mem3(&mut self, val: bool)

Keep the second bank in RAM block MEM[3] retained when in System OFF mode.

Source

pub const fn mem4(&self) -> bool

Keep the second bank in RAM block MEM[4] retained when in System OFF mode.

Source

pub fn set_mem4(&mut self, val: bool)

Keep the second bank in RAM block MEM[4] retained when in System OFF mode.

Source

pub const fn mem5(&self) -> bool

Keep the second bank in RAM block MEM[5] retained when in System OFF mode.

Source

pub fn set_mem5(&mut self, val: bool)

Keep the second bank in RAM block MEM[5] retained when in System OFF mode.

Source

pub const fn mem6(&self) -> bool

Keep the second bank in RAM block MEM[6] retained when in System OFF mode.

Source

pub fn set_mem6(&mut self, val: bool)

Keep the second bank in RAM block MEM[6] retained when in System OFF mode.

Source

pub const fn mem7(&self) -> bool

Keep the second bank in RAM block MEM[7] retained when in System OFF mode.

Source

pub fn set_mem7(&mut self, val: bool)

Keep the second bank in RAM block MEM[7] retained when in System OFF mode.

Source

pub const fn mem8(&self) -> bool

Keep the second bank in RAM block MEM[8] retained when in System OFF mode.

Source

pub fn set_mem8(&mut self, val: bool)

Keep the second bank in RAM block MEM[8] retained when in System OFF mode.

Source

pub const fn mem9(&self) -> bool

Keep the second bank in RAM block MEM[9] retained when in System OFF mode.

Source

pub fn set_mem9(&mut self, val: bool)

Keep the second bank in RAM block MEM[9] retained when in System OFF mode.

Source

pub const fn mem10(&self) -> bool

Keep the second bank in RAM block MEM[10] retained when in System OFF mode.

Source

pub fn set_mem10(&mut self, val: bool)

Keep the second bank in RAM block MEM[10] retained when in System OFF mode.

Source

pub const fn mem11(&self) -> bool

Keep the second bank in RAM block MEM[11] retained when in System OFF mode.

Source

pub fn set_mem11(&mut self, val: bool)

Keep the second bank in RAM block MEM[11] retained when in System OFF mode.

Source

pub const fn mem12(&self) -> bool

Keep the second bank in RAM block MEM[12] retained when in System OFF mode.

Source

pub fn set_mem12(&mut self, val: bool)

Keep the second bank in RAM block MEM[12] retained when in System OFF mode.

Source

pub const fn mem13(&self) -> bool

Keep the second bank in RAM block MEM[13] retained when in System OFF mode.

Source

pub fn set_mem13(&mut self, val: bool)

Keep the second bank in RAM block MEM[13] retained when in System OFF mode.

Source

pub const fn mem14(&self) -> bool

Keep the second bank in RAM block MEM[14] retained when in System OFF mode.

Source

pub fn set_mem14(&mut self, val: bool)

Keep the second bank in RAM block MEM[14] retained when in System OFF mode.

Source

pub const fn mem15(&self) -> bool

Keep the second bank in RAM block MEM[15] retained when in System OFF mode.

Source

pub fn set_mem15(&mut self, val: bool)

Keep the second bank in RAM block MEM[15] retained when in System OFF mode.

Source

pub const fn mem16(&self) -> bool

Keep the second bank in RAM block MEM[16] retained when in System OFF mode.

Source

pub fn set_mem16(&mut self, val: bool)

Keep the second bank in RAM block MEM[16] retained when in System OFF mode.

Source

pub const fn mem17(&self) -> bool

Keep the second bank in RAM block MEM[17] retained when in System OFF mode.

Source

pub fn set_mem17(&mut self, val: bool)

Keep the second bank in RAM block MEM[17] retained when in System OFF mode.

Source

pub const fn mem18(&self) -> bool

Keep the second bank in RAM block MEM[18] retained when in System OFF mode.

Source

pub fn set_mem18(&mut self, val: bool)

Keep the second bank in RAM block MEM[18] retained when in System OFF mode.

Source

pub const fn mem19(&self) -> bool

Keep the second bank in RAM block MEM[19] retained when in System OFF mode.

Source

pub fn set_mem19(&mut self, val: bool)

Keep the second bank in RAM block MEM[19] retained when in System OFF mode.

Source

pub const fn mem20(&self) -> bool

Keep the second bank in RAM block MEM[20] retained when in System OFF mode.

Source

pub fn set_mem20(&mut self, val: bool)

Keep the second bank in RAM block MEM[20] retained when in System OFF mode.

Source

pub const fn mem21(&self) -> bool

Keep the second bank in RAM block MEM[21] retained when in System OFF mode.

Source

pub fn set_mem21(&mut self, val: bool)

Keep the second bank in RAM block MEM[21] retained when in System OFF mode.

Source

pub const fn mem22(&self) -> bool

Keep the second bank in RAM block MEM[22] retained when in System OFF mode.

Source

pub fn set_mem22(&mut self, val: bool)

Keep the second bank in RAM block MEM[22] retained when in System OFF mode.

Source

pub const fn mem23(&self) -> bool

Keep the second bank in RAM block MEM[23] retained when in System OFF mode.

Source

pub fn set_mem23(&mut self, val: bool)

Keep the second bank in RAM block MEM[23] retained when in System OFF mode.

Source

pub const fn mem24(&self) -> bool

Keep the second bank in RAM block MEM[24] retained when in System OFF mode.

Source

pub fn set_mem24(&mut self, val: bool)

Keep the second bank in RAM block MEM[24] retained when in System OFF mode.

Source

pub const fn mem25(&self) -> bool

Keep the second bank in RAM block MEM[25] retained when in System OFF mode.

Source

pub fn set_mem25(&mut self, val: bool)

Keep the second bank in RAM block MEM[25] retained when in System OFF mode.

Source

pub const fn mem26(&self) -> bool

Keep the second bank in RAM block MEM[26] retained when in System OFF mode.

Source

pub fn set_mem26(&mut self, val: bool)

Keep the second bank in RAM block MEM[26] retained when in System OFF mode.

Source

pub const fn mem27(&self) -> bool

Keep the second bank in RAM block MEM[27] retained when in System OFF mode.

Source

pub fn set_mem27(&mut self, val: bool)

Keep the second bank in RAM block MEM[27] retained when in System OFF mode.

Source

pub const fn mem28(&self) -> bool

Keep the second bank in RAM block MEM[28] retained when in System OFF mode.

Source

pub fn set_mem28(&mut self, val: bool)

Keep the second bank in RAM block MEM[28] retained when in System OFF mode.

Source

pub const fn mem29(&self) -> bool

Keep the second bank in RAM block MEM[29] retained when in System OFF mode.

Source

pub fn set_mem29(&mut self, val: bool)

Keep the second bank in RAM block MEM[29] retained when in System OFF mode.

Source

pub const fn mem30(&self) -> bool

Keep the second bank in RAM block MEM[30] retained when in System OFF mode.

Source

pub fn set_mem30(&mut self, val: bool)

Keep the second bank in RAM block MEM[30] retained when in System OFF mode.

Source

pub const fn mem31(&self) -> bool

Keep the second bank in RAM block MEM[31] retained when in System OFF mode.

Source

pub fn set_mem31(&mut self, val: bool)

Keep the second bank in RAM block MEM[31] retained when in System OFF mode.

Trait Implementations§

Source§

impl Clone for Ret2

Source§

fn clone(&self) -> Ret2

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for Ret2

Source§

fn default() -> Ret2

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Ret2

Source§

fn eq(&self, other: &Ret2) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Ret2

Source§

impl Eq for Ret2

Source§

impl StructuralPartialEq for Ret2

Auto Trait Implementations§

§

impl Freeze for Ret2

§

impl RefUnwindSafe for Ret2

§

impl Send for Ret2

§

impl Sync for Ret2

§

impl Unpin for Ret2

§

impl UnwindSafe for Ret2

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.