Struct rp_pac::syscfg::regs::Mempowerdown
source · #[repr(transparent)]pub struct Mempowerdown(pub u32);
Expand description
Control PD pins to memories. Set high to put memories to a low power state. In this state the memories will retain contents but not be accessible Use with caution
Tuple Fields§
§0: u32
Implementations§
source§impl Mempowerdown
impl Mempowerdown
pub const fn sram0(&self) -> bool
pub fn set_sram0(&mut self, val: bool)
pub const fn sram1(&self) -> bool
pub fn set_sram1(&mut self, val: bool)
pub const fn sram2(&self) -> bool
pub fn set_sram2(&mut self, val: bool)
pub const fn sram3(&self) -> bool
pub fn set_sram3(&mut self, val: bool)
pub const fn sram4(&self) -> bool
pub fn set_sram4(&mut self, val: bool)
pub const fn sram5(&self) -> bool
pub fn set_sram5(&mut self, val: bool)
pub const fn sram6(&self) -> bool
pub fn set_sram6(&mut self, val: bool)
pub const fn sram7(&self) -> bool
pub fn set_sram7(&mut self, val: bool)
pub const fn sram8(&self) -> bool
pub fn set_sram8(&mut self, val: bool)
pub const fn sram9(&self) -> bool
pub fn set_sram9(&mut self, val: bool)
pub const fn usb(&self) -> bool
pub fn set_usb(&mut self, val: bool)
pub const fn rom(&self) -> bool
pub fn set_rom(&mut self, val: bool)
pub const fn bootram(&self) -> bool
pub fn set_bootram(&mut self, val: bool)
Trait Implementations§
source§impl Clone for Mempowerdown
impl Clone for Mempowerdown
source§fn clone(&self) -> Mempowerdown
fn clone(&self) -> Mempowerdown
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for Mempowerdown
impl Default for Mempowerdown
source§fn default() -> Mempowerdown
fn default() -> Mempowerdown
Returns the “default value” for a type. Read more
source§impl PartialEq for Mempowerdown
impl PartialEq for Mempowerdown
impl Copy for Mempowerdown
impl Eq for Mempowerdown
impl StructuralPartialEq for Mempowerdown
Auto Trait Implementations§
impl Freeze for Mempowerdown
impl RefUnwindSafe for Mempowerdown
impl Send for Mempowerdown
impl Sync for Mempowerdown
impl Unpin for Mempowerdown
impl UnwindSafe for Mempowerdown
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)