[][src]Enum cortex_mpu::cortex_m4::CachePolicy

pub enum CachePolicy {
    NonCacheable,
    WriteThrough,
    WriteBack {
        write_allocate: bool,
    },
}

The caching policy for a "normal" memory region.

Variants

NonCacheable

Non-cacheable memory region.

WriteThrough

Write-through, no write allocate.

WriteBack

Write-back cacheable region.

Fields of WriteBack

write_allocate: bool

Whether a write miss loads the missed cache row into cache.

Trait Implementations

impl PartialEq<CachePolicy> for CachePolicy[src]

impl Eq for CachePolicy[src]

impl Debug for CachePolicy[src]

impl Copy for CachePolicy[src]

impl Clone for CachePolicy[src]

Auto Trait Implementations

Blanket Implementations

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

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, 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