pub struct Config<'a> {
pub background_config: bool,
pub iregions: &'a [Region],
pub dregions: &'a [Region],
}Expand description
Configuration for the PMSAv7 MPU
Fields§
§background_config: boolBackground Config Enable
If true, use the default MMU config if no other region matches an address
iregions: &'a [Region]List of instruction regions
dregions: &'a [Region]List of data/unified regions
Trait Implementations§
impl<'a> Eq for Config<'a>
impl<'a> StructuralPartialEq for Config<'a>
Auto Trait Implementations§
impl<'a> Freeze for Config<'a>
impl<'a> RefUnwindSafe for Config<'a>
impl<'a> Send for Config<'a>
impl<'a> Sync for Config<'a>
impl<'a> Unpin for Config<'a>
impl<'a> UnwindSafe for Config<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more