#[repr(transparent)]pub struct SramXenA1Small(pub u32);Expand description
RAM XEN Control.
Tuple Fields§
§0: u32Implementations§
Source§impl SramXenA1Small
impl SramXenA1Small
Sourcepub const fn set_ramx0_xen(&mut self, val: bool)
pub const fn set_ramx0_xen(&mut self, val: bool)
RAMX0 Execute permission control.
Sourcepub const fn set_ramx1_xen(&mut self, val: bool)
pub const fn set_ramx1_xen(&mut self, val: bool)
RAMX1 Execute permission control.
Sourcepub const fn set_rama0_xen(&mut self, val: bool)
pub const fn set_rama0_xen(&mut self, val: bool)
RAMA0 Execute permission control.
Sourcepub const fn set_rama1_xen(&mut self, val: bool)
pub const fn set_rama1_xen(&mut self, val: bool)
RAMAx (excepts RAMA0) Execute permission control.
Sourcepub const fn lock(&self) -> bool
pub const fn lock(&self) -> bool
This 1-bit field provides a mechanism to limit writes to the this register (and SRAM_XEN_DP) to protect its contents. Once set, this bit remains asserted until the next reset. Raw bit values: false (0) = Lock0: This register is not locked and can be altered.; true (1) = Lock1: This register is locked and cannot be altered.
Sourcepub const fn set_lock(&mut self, val: bool)
pub const fn set_lock(&mut self, val: bool)
This 1-bit field provides a mechanism to limit writes to the this register (and SRAM_XEN_DP) to protect its contents. Once set, this bit remains asserted until the next reset. Raw bit values: false (0) = Lock0: This register is not locked and can be altered.; true (1) = Lock1: This register is locked and cannot be altered.
Trait Implementations§
Source§impl Clone for SramXenA1Small
impl Clone for SramXenA1Small
Source§fn clone(&self) -> SramXenA1Small
fn clone(&self) -> SramXenA1Small
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more