Struct cortex_m::peripheral::MPU  
source · [−]pub struct MPU { /* private fields */ }Expand description
Memory Protection Unit
Implementations
sourceimpl MPU
 
impl MPU
sourcepub const PTR: *const RegisterBlock = {0xe000ed90 as *const peripheral::mpu::RegisterBlock}
 
pub const PTR: *const RegisterBlock = {0xe000ed90 as *const peripheral::mpu::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
 👎Deprecated since 0.7.5: Use the associated constant PTR instead
pub const fn ptr() -> *const RegisterBlock
PTR insteadReturns a pointer to the register block
Trait Implementations
sourceimpl Deref for MPU
 
impl Deref for MPU
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for MPU
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more