pub enum Locknsmpu {
Enable = 0,
Disable = 1,
}Expand description
Control write access to Nonsecure MPU memory regions.
Value on reset: 0
Variants§
Enable = 0
0: Unlock these registers. privileged access to Nonsecure MPU memory regions is allowed.
Disable = 1
1: Disable writes to the MPU_CTRL_NS, MPU_RNR_NS, MPU_RBAR_NS, MPU_RLAR_NS, MPU_RBAR_A_NSn and MPU_RLAR_A_NSn. All writes to the registers are ignored.
Trait Implementations§
impl Copy for Locknsmpu
impl Eq for Locknsmpu
impl StructuralPartialEq for Locknsmpu
Auto Trait Implementations§
impl Freeze for Locknsmpu
impl RefUnwindSafe for Locknsmpu
impl Send for Locknsmpu
impl Sync for Locknsmpu
impl Unpin for Locknsmpu
impl UnsafeUnpin for Locknsmpu
impl UnwindSafe for Locknsmpu
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