#[repr(transparent)]pub struct Sramctl2(pub u32);Expand description
SRAM Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Sramctl2
impl Sramctl2
Sourcepub const fn req(&self) -> bool
pub const fn req(&self) -> bool
SRAM Voltage Update Request. Raw bit values: false (0) = ReqNo: Do not request.; true (1) = ReqYes: Request.
Sourcepub const fn set_req(&mut self, val: bool)
pub const fn set_req(&mut self, val: bool)
SRAM Voltage Update Request. Raw bit values: false (0) = ReqNo: Do not request.; true (1) = ReqYes: Request.
Trait Implementations§
impl Copy for Sramctl2
impl Eq for Sramctl2
impl StructuralPartialEq for Sramctl2
Auto Trait Implementations§
impl Freeze for Sramctl2
impl RefUnwindSafe for Sramctl2
impl Send for Sramctl2
impl Sync for Sramctl2
impl Unpin for Sramctl2
impl UnwindSafe for Sramctl2
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