Struct Mpcwm4acfgr
#[repr(transparent)]pub struct Mpcwm4acfgr(pub u32);Expand description
GTZC1 TZSC memory 4 sub-region A watermark configuration register.
Tuple Fields§
§0: u32Implementations§
§impl Mpcwm4acfgr
impl Mpcwm4acfgr
pub const fn sren(&self) -> bool
pub const fn sren(&self) -> bool
Sub-region z enable Note: External memories that are watermark controlled start fully non-secure/unprivileged at reset when TZEN = 0xC3. When TZEN = 0xB4, external memories start fully secure/fully privileged (inverted reset-value).
pub fn set_sren(&mut self, val: bool)
pub fn set_sren(&mut self, val: bool)
Sub-region z enable Note: External memories that are watermark controlled start fully non-secure/unprivileged at reset when TZEN = 0xC3. When TZEN = 0xB4, external memories start fully secure/fully privileged (inverted reset-value).
pub const fn srlock(&self) -> bool
pub const fn srlock(&self) -> bool
Sub-region A lock This bit, once set, can be cleared only by a system reset.
pub fn set_srlock(&mut self, val: bool)
pub fn set_srlock(&mut self, val: bool)
Sub-region A lock This bit, once set, can be cleared only by a system reset.
pub const fn sec(&self) -> bool
pub const fn sec(&self) -> bool
Secure sub-region A of base region x This bit is taken into account only if SREN is set.
pub fn set_sec(&mut self, val: bool)
pub fn set_sec(&mut self, val: bool)
Secure sub-region A of base region x This bit is taken into account only if SREN is set.
Trait Implementations§
§impl Clone for Mpcwm4acfgr
impl Clone for Mpcwm4acfgr
§fn clone(&self) -> Mpcwm4acfgr
fn clone(&self) -> Mpcwm4acfgr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more