Struct rp2040_pac::MPU
source · pub struct MPU { /* private fields */ }
Expand description
Memory Protection Unit
Implementations§
source§impl MPU
impl MPU
sourcepub const PTR: *const RegisterBlock = {0xe000ed90 as *const cortex_m::peripheral::mpu::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xe000ed90 as *const cortex_m::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§
Auto Trait Implementations§
impl Freeze for MPU
impl RefUnwindSafe for MPU
impl !Sync for MPU
impl Unpin for MPU
impl UnwindSafe for MPU
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