Struct Mpcwm3bcfgr
#[repr(transparent)]pub struct Mpcwm3bcfgr(pub u32);Expand description
GTZC1 TZSC memory 3 sub-region B watermark configuration register.
Tuple Fields§
§0: u32Implementations§
§impl Mpcwm3bcfgr
impl Mpcwm3bcfgr
pub const fn sren(&self) -> bool
pub const fn sren(&self) -> bool
Sub-region B 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 B 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 B 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 B 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 B 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 B of base region x This bit is taken into account only if SREN is set.
Trait Implementations§
§impl Clone for Mpcwm3bcfgr
impl Clone for Mpcwm3bcfgr
§fn clone(&self) -> Mpcwm3bcfgr
fn clone(&self) -> Mpcwm3bcfgr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more