#[repr(transparent)]pub struct Power(pub u32);
Expand description
Description cluster: RAMn power control register
Tuple Fields§
§0: u32
Implementations§
Source§impl Power
impl Power
Sourcepub fn set_s_power(&mut self, n: usize, val: bool)
pub fn set_s_power(&mut self, n: usize, val: bool)
Keep RAM section S0 on or off in System ON mode.
Sourcepub const fn s_retention(&self, n: usize) -> bool
pub const fn s_retention(&self, n: usize) -> bool
Keep retention on RAM section S0 when RAM section is off
Sourcepub fn set_s_retention(&mut self, n: usize, val: bool)
pub fn set_s_retention(&mut self, n: usize, val: bool)
Keep retention on RAM section S0 when RAM section is off
Trait Implementations§
impl Copy for Power
impl Eq for Power
impl StructuralPartialEq for Power
Auto Trait Implementations§
impl Freeze for Power
impl RefUnwindSafe for Power
impl Send for Power
impl Sync for Power
impl Unpin for Power
impl UnwindSafe for Power
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
)