Enum xmc4400::ppb::mpu_ctrl::PRIVDEFENA_A
source · pub enum PRIVDEFENA_A {
VALUE1 = 0,
VALUE2 = 1,
}
Expand description
Enables privileged software access to the default memory map
Value on reset: 0
Variants§
VALUE1 = 0
0: If the MPU is enabled, disables use of the default memory map. Any memory access to a location not covered by any enabled region causes a fault.
VALUE2 = 1
1: If the MPU is enabled, enables use of the default memory map as a background region for privileged software accesses.
Trait Implementations§
source§impl Clone for PRIVDEFENA_A
impl Clone for PRIVDEFENA_A
source§fn clone(&self) -> PRIVDEFENA_A
fn clone(&self) -> PRIVDEFENA_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PRIVDEFENA_A
impl Debug for PRIVDEFENA_A
source§impl From<PRIVDEFENA_A> for bool
impl From<PRIVDEFENA_A> for bool
source§fn from(variant: PRIVDEFENA_A) -> Self
fn from(variant: PRIVDEFENA_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PRIVDEFENA_A
impl PartialEq for PRIVDEFENA_A
source§fn eq(&self, other: &PRIVDEFENA_A) -> bool
fn eq(&self, other: &PRIVDEFENA_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PRIVDEFENA_A
impl Eq for PRIVDEFENA_A
impl StructuralPartialEq for PRIVDEFENA_A
Auto Trait Implementations§
impl Freeze for PRIVDEFENA_A
impl RefUnwindSafe for PRIVDEFENA_A
impl Send for PRIVDEFENA_A
impl Sync for PRIVDEFENA_A
impl Unpin for PRIVDEFENA_A
impl UnwindSafe for PRIVDEFENA_A
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