pub struct MPUAttributes {
pub shareable: bool,
pub cacheable: bool,
pub bufferable: bool,
pub execute_never: bool,
}Expand description
MPU Memory Attributes
Fields§
Shareable
cacheable: boolCacheable
bufferable: boolBufferable
execute_never: boolExecute Never (XN)
Implementations§
Source§impl MPUAttributes
impl MPUAttributes
Sourcepub fn device() -> Self
pub fn device() -> Self
Device memory (non-cacheable, bufferable)
Per ARM architecture: Device memory has TEX=0b000, C=0, B=1. This distinguishes it from Strongly-ordered (TEX=0b000, C=0, B=0).
Sourcepub fn strongly_ordered() -> Self
pub fn strongly_ordered() -> Self
Strongly-ordered memory
Trait Implementations§
Source§impl Clone for MPUAttributes
impl Clone for MPUAttributes
Source§fn clone(&self) -> MPUAttributes
fn clone(&self) -> MPUAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MPUAttributes
impl Debug for MPUAttributes
Source§impl PartialEq for MPUAttributes
impl PartialEq for MPUAttributes
Source§fn eq(&self, other: &MPUAttributes) -> bool
fn eq(&self, other: &MPUAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MPUAttributes
impl Eq for MPUAttributes
impl StructuralPartialEq for MPUAttributes
Auto Trait Implementations§
impl Freeze for MPUAttributes
impl RefUnwindSafe for MPUAttributes
impl Send for MPUAttributes
impl Sync for MPUAttributes
impl Unpin for MPUAttributes
impl UnsafeUnpin for MPUAttributes
impl UnwindSafe for MPUAttributes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.