Struct cortexm::mpu::CortexMConfig
source · pub struct CortexMConfig<const NUM_REGIONS: usize> { /* private fields */ }
Expand description
Per-process struct storing MPU configuration for cortex-m MPUs.
The cortex-m MPU has eight regions, all of which must be configured (though unused regions may be configured as disabled). This struct caches the result of region configuration calculation.
Trait Implementations§
Auto Trait Implementations§
impl<const NUM_REGIONS: usize> !Freeze for CortexMConfig<NUM_REGIONS>
impl<const NUM_REGIONS: usize> !RefUnwindSafe for CortexMConfig<NUM_REGIONS>
impl<const NUM_REGIONS: usize> !Send for CortexMConfig<NUM_REGIONS>
impl<const NUM_REGIONS: usize> !Sync for CortexMConfig<NUM_REGIONS>
impl<const NUM_REGIONS: usize> Unpin for CortexMConfig<NUM_REGIONS>
impl<const NUM_REGIONS: usize> UnwindSafe for CortexMConfig<NUM_REGIONS>
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