Struct drone_cortexm::map::reg::mpu::rasr::Hold[][src]

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

Defines the size and access behavior of the region identified by RNR, and enables that region.

Implementations

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

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

Instruction access disable bit.

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

pub fn set_xn(&mut self) -> &mut Self[src]

Instruction access disable bit.

pub fn clear_xn(&mut self) -> &mut Self[src]

Instruction access disable bit.

pub fn toggle_xn(&mut self) -> &mut Self[src]

Instruction access disable bit.

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

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

Access permission.

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

pub fn write_ap(&mut self, bits: u32) -> &mut Self[src]

Access permission.

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

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

Memory attribute.

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

pub fn write_tex(&mut self, bits: u32) -> &mut Self[src]

Memory attribute.

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

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

Shareable memory attribute.

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

pub fn set_s(&mut self) -> &mut Self[src]

Shareable memory attribute.

pub fn clear_s(&mut self) -> &mut Self[src]

Shareable memory attribute.

pub fn toggle_s(&mut self) -> &mut Self[src]

Shareable memory attribute.

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

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

Memory attribute.

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

pub fn set_c(&mut self) -> &mut Self[src]

Memory attribute.

pub fn clear_c(&mut self) -> &mut Self[src]

Memory attribute.

pub fn toggle_c(&mut self) -> &mut Self[src]

Memory attribute.

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

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

Memory attribute.

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

pub fn set_b(&mut self) -> &mut Self[src]

Memory attribute.

pub fn clear_b(&mut self) -> &mut Self[src]

Memory attribute.

pub fn toggle_b(&mut self) -> &mut Self[src]

Memory attribute.

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

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

Subregion disable bits.

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

pub fn write_srd(&mut self, bits: u32) -> &mut Self[src]

Subregion disable bits.

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

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

Size of the MPU protection region.

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

pub fn write_size(&mut self, bits: u32) -> &mut Self[src]

Size of the MPU protection region.

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

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

Region enable bit.

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

pub fn set_enable(&mut self) -> &mut Self[src]

Region enable bit.

pub fn clear_enable(&mut self) -> &mut Self[src]

Region enable bit.

pub fn toggle_enable(&mut self) -> &mut Self[src]

Region enable bit.

Trait Implementations

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

Auto Trait Implementations

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

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

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

Blanket Implementations

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

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

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

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

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

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

type Output = T

Should always be Self

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