Struct Mpcwmbr
#[repr(transparent)]pub struct Mpcwmbr(pub u32);Expand description
TZSC memory sub-region B watermark register.
Tuple Fields§
§0: u32Implementations§
§impl Mpcwmbr
impl Mpcwmbr
pub const fn subb_start(&self) -> u16
pub const fn subb_start(&self) -> u16
Start of sub-region B, in units of the watermark granularity, relative to the start of the region.
pub const fn set_subb_start(&mut self, val: u16)
pub const fn set_subb_start(&mut self, val: u16)
Start of sub-region B, in units of the watermark granularity, relative to the start of the region.
pub const fn subb_length(&self) -> u16
pub const fn subb_length(&self) -> u16
Length of sub-region B, in units of the watermark granularity. Zero disables the sub-region.
pub const fn set_subb_length(&mut self, val: u16)
pub const fn set_subb_length(&mut self, val: u16)
Length of sub-region B, in units of the watermark granularity. Zero disables the sub-region.
Trait Implementations§
impl Copy for Mpcwmbr
impl Eq for Mpcwmbr
impl StructuralPartialEq for Mpcwmbr
Auto Trait Implementations§
impl Freeze for Mpcwmbr
impl RefUnwindSafe for Mpcwmbr
impl Send for Mpcwmbr
impl Sync for Mpcwmbr
impl Unpin for Mpcwmbr
impl UnsafeUnpin for Mpcwmbr
impl UnwindSafe for Mpcwmbr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more