[][src]Struct cortex_mpu::cortex_m0p::Region

pub struct Region {
    pub base_addr: usize,
    pub size: Size,
    pub subregions: Subregions,
    pub executable: bool,
    pub permissions: AccessPermission,
    pub attributes: MemoryAttributes,
}

Memory region properties.

Fields

base_addr: usize

Starting address of the region (lowest address).

This must be aligned to the region's size.

size: Size

Size of the region.

subregions: Subregions

The subregions to enable or disable.

executable: bool

Whether to allow instruction fetches from this region.

If this is false, the region will be marked as NX (Never eXecute). This affects both privileged and unprivileged code, regardless of other MPU settings.

permissions: AccessPermission

Data access permissions for the region.

attributes: MemoryAttributes

Memory type and cache policy attributes.

Trait Implementations

impl Debug for Region[src]

impl Copy for Region[src]

impl Clone for Region[src]

Auto Trait Implementations

impl Unpin for Region

impl Send for Region

impl Sync for Region

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