#[repr(transparent)]pub struct SramretldoCntrl(pub u32);Expand description
SRAM Retention LDO Control
Tuple Fields§
§0: u32Implementations§
Source§impl SramretldoCntrl
impl SramretldoCntrl
Sourcepub const fn sramldo_on(&self) -> bool
pub const fn sramldo_on(&self) -> bool
SRAM LDO Regulator Enable
Sourcepub const fn set_sramldo_on(&mut self, val: bool)
pub const fn set_sramldo_on(&mut self, val: bool)
SRAM LDO Regulator Enable
Sourcepub const fn sram_ret_en(&self) -> u8
pub const fn sram_ret_en(&self) -> u8
SRAM Retention
Sourcepub const fn set_sram_ret_en(&mut self, val: u8)
pub const fn set_sram_ret_en(&mut self, val: u8)
SRAM Retention
Trait Implementations§
Source§impl Clone for SramretldoCntrl
impl Clone for SramretldoCntrl
Source§fn clone(&self) -> SramretldoCntrl
fn clone(&self) -> SramretldoCntrl
Returns a duplicate 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 Debug for SramretldoCntrl
impl Debug for SramretldoCntrl
Source§impl Default for SramretldoCntrl
impl Default for SramretldoCntrl
Source§fn default() -> SramretldoCntrl
fn default() -> SramretldoCntrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for SramretldoCntrl
impl PartialEq for SramretldoCntrl
impl Copy for SramretldoCntrl
impl Eq for SramretldoCntrl
impl StructuralPartialEq for SramretldoCntrl
Auto Trait Implementations§
impl Freeze for SramretldoCntrl
impl RefUnwindSafe for SramretldoCntrl
impl Send for SramretldoCntrl
impl Sync for SramretldoCntrl
impl Unpin for SramretldoCntrl
impl UnwindSafe for SramretldoCntrl
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