embassy-nrf

Crates

git

Versions

nrf54l15-app-s

Flavors

embassy_nrf::pac::memconf::regs

Struct Control

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

Description cluster: Control memory block power.

Tuple Fields§

§0: u32

Implementations§

§

impl Control

pub const fn mem0(&self) -> bool

Keep the memory block MEM[0] on or off when in System ON mode.

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

Keep the memory block MEM[0] on or off when in System ON mode.

pub const fn mem1(&self) -> bool

Keep the memory block MEM[1] on or off when in System ON mode.

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

Keep the memory block MEM[1] on or off when in System ON mode.

pub const fn mem2(&self) -> bool

Keep the memory block MEM[2] on or off when in System ON mode.

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

Keep the memory block MEM[2] on or off when in System ON mode.

pub const fn mem3(&self) -> bool

Keep the memory block MEM[3] on or off when in System ON mode.

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

Keep the memory block MEM[3] on or off when in System ON mode.

pub const fn mem4(&self) -> bool

Keep the memory block MEM[4] on or off when in System ON mode.

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

Keep the memory block MEM[4] on or off when in System ON mode.

pub const fn mem5(&self) -> bool

Keep the memory block MEM[5] on or off when in System ON mode.

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

Keep the memory block MEM[5] on or off when in System ON mode.

pub const fn mem6(&self) -> bool

Keep the memory block MEM[6] on or off when in System ON mode.

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

Keep the memory block MEM[6] on or off when in System ON mode.

pub const fn mem7(&self) -> bool

Keep the memory block MEM[7] on or off when in System ON mode.

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

Keep the memory block MEM[7] on or off when in System ON mode.

pub const fn mem8(&self) -> bool

Keep the memory block MEM[8] on or off when in System ON mode.

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

Keep the memory block MEM[8] on or off when in System ON mode.

pub const fn mem9(&self) -> bool

Keep the memory block MEM[9] on or off when in System ON mode.

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

Keep the memory block MEM[9] on or off when in System ON mode.

pub const fn mem10(&self) -> bool

Keep the memory block MEM[10] on or off when in System ON mode.

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

Keep the memory block MEM[10] on or off when in System ON mode.

pub const fn mem11(&self) -> bool

Keep the memory block MEM[11] on or off when in System ON mode.

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

Keep the memory block MEM[11] on or off when in System ON mode.

pub const fn mem12(&self) -> bool

Keep the memory block MEM[12] on or off when in System ON mode.

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

Keep the memory block MEM[12] on or off when in System ON mode.

pub const fn mem13(&self) -> bool

Keep the memory block MEM[13] on or off when in System ON mode.

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

Keep the memory block MEM[13] on or off when in System ON mode.

pub const fn mem14(&self) -> bool

Keep the memory block MEM[14] on or off when in System ON mode.

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

Keep the memory block MEM[14] on or off when in System ON mode.

pub const fn mem15(&self) -> bool

Keep the memory block MEM[15] on or off when in System ON mode.

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

Keep the memory block MEM[15] on or off when in System ON mode.

pub const fn mem16(&self) -> bool

Keep the memory block MEM[16] on or off when in System ON mode.

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

Keep the memory block MEM[16] on or off when in System ON mode.

pub const fn mem17(&self) -> bool

Keep the memory block MEM[17] on or off when in System ON mode.

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

Keep the memory block MEM[17] on or off when in System ON mode.

pub const fn mem18(&self) -> bool

Keep the memory block MEM[18] on or off when in System ON mode.

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

Keep the memory block MEM[18] on or off when in System ON mode.

pub const fn mem19(&self) -> bool

Keep the memory block MEM[19] on or off when in System ON mode.

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

Keep the memory block MEM[19] on or off when in System ON mode.

pub const fn mem20(&self) -> bool

Keep the memory block MEM[20] on or off when in System ON mode.

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

Keep the memory block MEM[20] on or off when in System ON mode.

pub const fn mem21(&self) -> bool

Keep the memory block MEM[21] on or off when in System ON mode.

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

Keep the memory block MEM[21] on or off when in System ON mode.

pub const fn mem22(&self) -> bool

Keep the memory block MEM[22] on or off when in System ON mode.

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

Keep the memory block MEM[22] on or off when in System ON mode.

pub const fn mem23(&self) -> bool

Keep the memory block MEM[23] on or off when in System ON mode.

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

Keep the memory block MEM[23] on or off when in System ON mode.

pub const fn mem24(&self) -> bool

Keep the memory block MEM[24] on or off when in System ON mode.

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

Keep the memory block MEM[24] on or off when in System ON mode.

pub const fn mem25(&self) -> bool

Keep the memory block MEM[25] on or off when in System ON mode.

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

Keep the memory block MEM[25] on or off when in System ON mode.

pub const fn mem26(&self) -> bool

Keep the memory block MEM[26] on or off when in System ON mode.

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

Keep the memory block MEM[26] on or off when in System ON mode.

pub const fn mem27(&self) -> bool

Keep the memory block MEM[27] on or off when in System ON mode.

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

Keep the memory block MEM[27] on or off when in System ON mode.

pub const fn mem28(&self) -> bool

Keep the memory block MEM[28] on or off when in System ON mode.

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

Keep the memory block MEM[28] on or off when in System ON mode.

pub const fn mem29(&self) -> bool

Keep the memory block MEM[29] on or off when in System ON mode.

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

Keep the memory block MEM[29] on or off when in System ON mode.

pub const fn mem30(&self) -> bool

Keep the memory block MEM[30] on or off when in System ON mode.

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

Keep the memory block MEM[30] on or off when in System ON mode.

pub const fn mem31(&self) -> bool

Keep the memory block MEM[31] on or off when in System ON mode.

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

Keep the memory block MEM[31] on or off when in System ON mode.

Trait Implementations§

§

impl Clone for Control

§

fn clone(&self) -> Control

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
§

impl Default for Control

§

fn default() -> Control

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

impl PartialEq for Control

§

fn eq(&self, other: &Control) -> 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.
§

impl Copy for Control

§

impl Eq for Control

§

impl StructuralPartialEq for Control

Auto Trait Implementations§

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.