[−][src]Struct cortex_mpu::Subregions
Subregion Disable (SRD) bits for the 8 subregions in a region.
Note that some cores do not support subregions for small region sizes. Check the core's User Guide for more information.
Methods
impl Subregions
[src]
pub const NONE: Self
[src]
None of the 8 subregions are enabled. Equivalent to disabling the entire region.
pub const ALL: Self
[src]
All 8 subregions are enabled.
pub fn from_disable_bits(bits: u8) -> Self
[src]
Creates a Subregions
mask from raw Subregion Disable (SRD) bits.
The least significant bit disables the lowest 1/8th of the region, and so on.
pub fn bits(self) -> u8
[src]
Returns the raw 8-bit Subregion Disable Bits value.
Trait Implementations
impl Debug for Subregions
[src]
impl PartialEq<Subregions> for Subregions
[src]
fn eq(&self, other: &Subregions) -> bool
[src]
fn ne(&self, other: &Subregions) -> bool
[src]
impl Eq for Subregions
[src]
impl Copy for Subregions
[src]
impl Clone for Subregions
[src]
fn clone(&self) -> Subregions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for Subregions
[src]
By default, all subregions are enabled.
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self