Enum xmc4300::ppb::mpu_ctrl::Privdefena
source · pub enum Privdefena {
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
impl Clone for Privdefena
source§fn clone(&self) -> Privdefena
fn clone(&self) -> Privdefena
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
impl Debug for Privdefena
source§impl From<Privdefena> for bool
impl From<Privdefena> for bool
source§fn from(variant: Privdefena) -> Self
fn from(variant: Privdefena) -> Self
Converts to this type from the input type.
source§impl PartialEq for Privdefena
impl PartialEq for Privdefena
source§fn eq(&self, other: &Privdefena) -> bool
fn eq(&self, other: &Privdefena) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Privdefena
impl Eq for Privdefena
impl StructuralPartialEq for Privdefena
Auto Trait Implementations§
impl RefUnwindSafe for Privdefena
impl Send for Privdefena
impl Sync for Privdefena
impl Unpin for Privdefena
impl UnwindSafe for Privdefena
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