#[repr(transparent)]pub struct RbarA3(pub u32);Expand description
MPU Region Base Address Register.
Tuple Fields§
§0: u32Implementations§
Source§impl RbarA3
impl RbarA3
Sourcepub const fn xn(&self) -> RbarA3Xn
pub const fn xn(&self) -> RbarA3Xn
The XN bit is an Execute Never bit, that indicates whether the processor can execute instructions from the region.
Sourcepub const fn set_xn(&mut self, val: RbarA3Xn)
pub const fn set_xn(&mut self, val: RbarA3Xn)
The XN bit is an Execute Never bit, that indicates whether the processor can execute instructions from the region.
Sourcepub const fn ap(&self) -> RbarA3Ap
pub const fn ap(&self) -> RbarA3Ap
The AP[2:0] bits indicate the access and privilege properties of the region.
Sourcepub const fn set_ap(&mut self, val: RbarA3Ap)
pub const fn set_ap(&mut self, val: RbarA3Ap)
The AP[2:0] bits indicate the access and privilege properties of the region.
Sourcepub const fn sh(&self) -> RbarA3Sh
pub const fn sh(&self) -> RbarA3Sh
For Normal memory regions, the S bit indicates whether the region is shareable. For Strongly-ordered and Device memory, the S bit is ignored.
Sourcepub const fn set_sh(&mut self, val: RbarA3Sh)
pub const fn set_sh(&mut self, val: RbarA3Sh)
For Normal memory regions, the S bit indicates whether the region is shareable. For Strongly-ordered and Device memory, the S bit is ignored.
Trait Implementations§
impl Copy for RbarA3
impl Eq for RbarA3
impl StructuralPartialEq for RbarA3
Auto Trait Implementations§
impl Freeze for RbarA3
impl RefUnwindSafe for RbarA3
impl Send for RbarA3
impl Sync for RbarA3
impl Unpin for RbarA3
impl UnwindSafe for RbarA3
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