#[repr(transparent)]pub struct Mair1(pub u32);Expand description
MPU Memory Attribute Indirection Registers 1.
Tuple Fields§
§0: u32Implementations§
Source§impl Mair1
impl Mair1
Sourcepub const fn attr4(&self) -> u8
pub const fn attr4(&self) -> u8
Memory attribute encoding for MPU regions with an AttrIndex of 4.
Sourcepub const fn set_attr4(&mut self, val: u8)
pub const fn set_attr4(&mut self, val: u8)
Memory attribute encoding for MPU regions with an AttrIndex of 4.
Sourcepub const fn attr5(&self) -> u8
pub const fn attr5(&self) -> u8
Memory attribute encoding for MPU regions with an AttrIndex of 5.
Sourcepub const fn set_attr5(&mut self, val: u8)
pub const fn set_attr5(&mut self, val: u8)
Memory attribute encoding for MPU regions with an AttrIndex of 5.
Sourcepub const fn attr6(&self) -> u8
pub const fn attr6(&self) -> u8
Memory attribute encoding for MPU regions with an AttrIndex of 6.
Sourcepub const fn set_attr6(&mut self, val: u8)
pub const fn set_attr6(&mut self, val: u8)
Memory attribute encoding for MPU regions with an AttrIndex of 6.
Trait Implementations§
impl Copy for Mair1
impl Eq for Mair1
impl StructuralPartialEq for Mair1
Auto Trait Implementations§
impl Freeze for Mair1
impl RefUnwindSafe for Mair1
impl Send for Mair1
impl Sync for Mair1
impl Unpin for Mair1
impl UnwindSafe for Mair1
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