#[repr(transparent)]pub struct SramXenA1(pub u32);Expand description
RAM XEN Control.
Tuple Fields§
§0: u32Implementations§
Source§impl SramXenA1
impl SramXenA1
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 set_ramb_xen(&mut self, val: bool)
pub const fn set_ramb_xen(&mut self, val: bool)
RAMBx 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 this register (and SRAM_XEN_DP) to protect its contents. Once set, this bit remains asserted until a system 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 this register (and SRAM_XEN_DP) to protect its contents. Once set, this bit remains asserted until a system 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.