[][src]Enum cortex_mpu::cortex_m4::MemoryAttributes

pub enum MemoryAttributes {
    StronglyOrdered,
    Device {
        shareable: bool,
    },
    Normal {
        shareable: bool,
        cache_policy: CachePolicy,
    },
}

Describes memory type, cache policy, and shareability.

Variants

StronglyOrdered

Shareable, non-cached, strongly-ordered memory region.

Device

Non-cached device peripheral region.

Fields of Device

shareable: bool

Whether the region is accessible by more than one bus master (eg. a DMA engine or a second MCU core).

Normal

Normal memory region (ie. "actual" memory, such as Flash or SRAM).

Fields of Normal

shareable: bool

Whether the region is accessible by more than one bus master (eg. a DMA engine or a second MCU core).

cache_policy: CachePolicy

How this region should be cached (?).

Trait Implementations

impl Debug for MemoryAttributes[src]

impl PartialEq<MemoryAttributes> for MemoryAttributes[src]

impl Eq for MemoryAttributes[src]

impl Copy for MemoryAttributes[src]

impl Clone for MemoryAttributes[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self