Enum nrf5340_app_pac::spu_s::cpulock::LOCKSMPU_A
source · [−]pub enum LOCKSMPU_A {
LOCKED,
UNLOCKED,
}
Expand description
Write ‘1’ to prevent updating the secure MPU regions until the next reset
Value on reset: 0
Variants
LOCKED
1: Disables writes to the MPU_CTRL, MPU_RNR, MPU_RBAR, MPU_RLAR, MPU_RBAR_An and MPU_RLAR_An from software or from a debug agent connected to the processor in Secure state
UNLOCKED
0: These registers can be updated
Trait Implementations
sourceimpl Clone for LOCKSMPU_A
impl Clone for LOCKSMPU_A
sourcefn clone(&self) -> LOCKSMPU_A
fn clone(&self) -> LOCKSMPU_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LOCKSMPU_A
impl Debug for LOCKSMPU_A
sourceimpl From<LOCKSMPU_A> for bool
impl From<LOCKSMPU_A> for bool
sourcefn from(variant: LOCKSMPU_A) -> Self
fn from(variant: LOCKSMPU_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LOCKSMPU_A> for LOCKSMPU_A
impl PartialEq<LOCKSMPU_A> for LOCKSMPU_A
sourcefn eq(&self, other: &LOCKSMPU_A) -> bool
fn eq(&self, other: &LOCKSMPU_A) -> bool
impl Copy for LOCKSMPU_A
impl StructuralPartialEq for LOCKSMPU_A
Auto Trait Implementations
impl RefUnwindSafe for LOCKSMPU_A
impl Send for LOCKSMPU_A
impl Sync for LOCKSMPU_A
impl Unpin for LOCKSMPU_A
impl UnwindSafe for LOCKSMPU_A
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