#[repr(transparent)]pub struct Sramcr0(pub u32);Expand description
SRAM Control Register 0.
Tuple Fields§
§0: u32Implementations§
Source§impl Sramcr0
impl Sramcr0
Sourcepub const fn syncen(&self) -> Sramcr0Syncen
pub const fn syncen(&self) -> Sramcr0Syncen
Synchronous Mode Enable.
Sourcepub const fn set_syncen(&mut self, val: Sramcr0Syncen)
pub const fn set_syncen(&mut self, val: Sramcr0Syncen)
Synchronous Mode Enable.
Sourcepub const fn advp(&self) -> Sramcr0Advp
pub const fn advp(&self) -> Sramcr0Advp
ADV# polarity.
Sourcepub const fn set_advp(&mut self, val: Sramcr0Advp)
pub const fn set_advp(&mut self, val: Sramcr0Advp)
ADV# polarity.
Sourcepub const fn advh(&self) -> Sramcr0Advh
pub const fn advh(&self) -> Sramcr0Advh
ADV# level control during address hold state.
Sourcepub const fn set_advh(&mut self, val: Sramcr0Advh)
pub const fn set_advh(&mut self, val: Sramcr0Advh)
ADV# level control during address hold state.
Sourcepub const fn col(&self) -> Sramcr0Col
pub const fn col(&self) -> Sramcr0Col
Column Address bit width.
Sourcepub const fn set_col(&mut self, val: Sramcr0Col)
pub const fn set_col(&mut self, val: Sramcr0Col)
Column Address bit width.
Trait Implementations§
impl Copy for Sramcr0
impl Eq for Sramcr0
impl StructuralPartialEq for Sramcr0
Auto Trait Implementations§
impl Freeze for Sramcr0
impl RefUnwindSafe for Sramcr0
impl Send for Sramcr0
impl Sync for Sramcr0
impl Unpin for Sramcr0
impl UnwindSafe for Sramcr0
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