Struct rp2040_pac2::syscfg::regs::Mempowerdown[][src]

#[repr(transparent)]pub struct Mempowerdown(pub u32);

Control power downs to memories. Set high to power down memories. Use with extreme caution

Implementations

impl Mempowerdown[src]

pub const fn rom(&self) -> bool[src]

pub fn set_rom(&mut self, val: bool)[src]

pub const fn usb(&self) -> bool[src]

pub fn set_usb(&mut self, val: bool)[src]

pub const fn sram5(&self) -> bool[src]

pub fn set_sram5(&mut self, val: bool)[src]

pub const fn sram4(&self) -> bool[src]

pub fn set_sram4(&mut self, val: bool)[src]

pub const fn sram3(&self) -> bool[src]

pub fn set_sram3(&mut self, val: bool)[src]

pub const fn sram2(&self) -> bool[src]

pub fn set_sram2(&mut self, val: bool)[src]

pub const fn sram1(&self) -> bool[src]

pub fn set_sram1(&mut self, val: bool)[src]

pub const fn sram0(&self) -> bool[src]

pub fn set_sram0(&mut self, val: bool)[src]

Trait Implementations

impl Clone for Mempowerdown[src]

impl Copy for Mempowerdown[src]

impl Default for Mempowerdown[src]

Auto Trait Implementations

impl Send for Mempowerdown

impl Sync for Mempowerdown

impl Unpin for Mempowerdown

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.