Struct Mpcwm1br
#[repr(transparent)]pub struct Mpcwm1br(pub u32);Expand description
GTZC1 TZSC memory 1 sub-region B watermark register.
Tuple Fields§
§0: u32Implementations§
§impl Mpcwm1br
impl Mpcwm1br
pub const fn subb_start(&self) -> u16
pub const fn subb_start(&self) -> u16
Start of sub-region B in region x This field defines the address offset of the sub-region B, 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_subb_start(&mut self, val: u16)
pub fn set_subb_start(&mut self, val: u16)
Start of sub-region B in region x This field defines the address offset of the sub-region B, 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 subb_length(&self) -> u16
pub const fn subb_length(&self) -> u16
Length of sub-region B in region x This field defines the length of the sub-region B, to be multiplied by the granularity defined in Table�30. When SUBB_START + SUBB_LENGTH is higher than the maximum size allowed for the memory, a saturation of SUBB_LENGTH is applied automatically. If SUBB_LENGTH = 0, the sub-region B is disabled.(SREN bit in TZSC_MPCMWxBCFGR is cleared).
pub fn set_subb_length(&mut self, val: u16)
pub fn set_subb_length(&mut self, val: u16)
Length of sub-region B in region x This field defines the length of the sub-region B, to be multiplied by the granularity defined in Table�30. When SUBB_START + SUBB_LENGTH is higher than the maximum size allowed for the memory, a saturation of SUBB_LENGTH is applied automatically. If SUBB_LENGTH = 0, the sub-region B is disabled.(SREN bit in TZSC_MPCMWxBCFGR is cleared).