[][src]Struct drone_cortex_m::map::reg::mpu::type_::Hold

pub struct Hold<'a, _T: RegTag> { /* fields omitted */ }

The MPU Type Register indicates how many regions the MPU support. Software can use it to determine if the processor implements an MPU.

Methods

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn iregion(&self) -> u32[src]

Instruction region.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn dregion(&self) -> u32[src]

Number of regions supported by the MPU. If this field reads-as-zero the processor does not implement an MPU.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn separate(&self) -> bool[src]

Indicates support for separate instruction and data address maps.

Trait Implementations

impl<'a, _T> RegHold<'a, _T, Reg<_T>> for Hold<'a, _T> where
    _T: RegTag
[src]

Auto Trait Implementations

impl<'a, _T> Unpin for Hold<'a, _T>

impl<'a, _T> Send for Hold<'a, _T>

impl<'a, _T> Sync for Hold<'a, _T>

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]