pub struct Mpu { /* private fields */ }
Expand description
Memory Protection Unit.
Implementations§
Source§impl Mpu
impl Mpu
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn protenset0(self) -> Reg<Protenset0, RW>
pub const fn protenset0(self) -> Reg<Protenset0, RW>
Erase and write protection bit enable set register.
Sourcepub const fn protenset1(self) -> Reg<Protenset1, RW>
pub const fn protenset1(self) -> Reg<Protenset1, RW>
Erase and write protection bit enable set register.
Sourcepub const fn disableindebug(self) -> Reg<Disableindebug, RW>
pub const fn disableindebug(self) -> Reg<Disableindebug, RW>
Disable erase and write protection mechanism in debug mode.
Sourcepub const fn protblocksize(self) -> Reg<Protblocksize, RW>
pub const fn protblocksize(self) -> Reg<Protblocksize, RW>
Erase and write protection block size.
Trait Implementations§
impl Copy for Mpu
impl Eq for Mpu
impl Send for Mpu
impl StructuralPartialEq for Mpu
impl Sync for Mpu
Auto Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)