Struct Mpcwm4ar
#[repr(transparent)]pub struct Mpcwm4ar(pub u32);Expand description
GTZC1 TZSC memory 4 sub-region A watermark register.
Tuple Fields§
§0: u32Implementations§
§impl Mpcwm4ar
impl Mpcwm4ar
pub const fn suba_start(&self) -> u16
pub const fn suba_start(&self) -> u16
Start of sub-region A in region x This field defines the address offset of the sub-region A, to be multiplied by the granularity defined in Table�30, versus the start of the region x. External memories that are watermark controlled, start fully non-secure at reset when TZEN�=�0xC3. When TZEN�=�0xB4, external memories start fully secure (inverted reset value).
pub fn set_suba_start(&mut self, val: u16)
pub fn set_suba_start(&mut self, val: u16)
Start of sub-region A in region x This field defines the address offset of the sub-region A, to be multiplied by the granularity defined in Table�30, versus the start of the region x. External memories that are watermark controlled, start fully non-secure at reset when TZEN�=�0xC3. When TZEN�=�0xB4, external memories start fully secure (inverted reset value).
pub const fn suba_length(&self) -> u16
pub const fn suba_length(&self) -> u16
Length of sub-region A in region x This field defines the length of the sub-region A, to be multiplied by the granularity defined in Table�30. When SUBA_START + SUBA_LENGTH is higher than the maximum size allowed for the memory, a saturation of SUBA_LENGTH is applied automatically. If SUBA_LENGTH = 0, the sub-region A is disabled.(SREN bit in TZSC_MPCMWxACFGR is cleared).
pub fn set_suba_length(&mut self, val: u16)
pub fn set_suba_length(&mut self, val: u16)
Length of sub-region A in region x This field defines the length of the sub-region A, to be multiplied by the granularity defined in Table�30. When SUBA_START + SUBA_LENGTH is higher than the maximum size allowed for the memory, a saturation of SUBA_LENGTH is applied automatically. If SUBA_LENGTH = 0, the sub-region A is disabled.(SREN bit in TZSC_MPCMWxACFGR is cleared).