Type Alias xmc4300::ppb::mpu_ctrl::PrivdefenaR

source ·
pub type PrivdefenaR = BitReader<Privdefena>;
Expand description

Field PRIVDEFENA reader - Enables privileged software access to the default memory map

Aliased Type§

struct PrivdefenaR { /* private fields */ }

Implementations§

source§

impl PrivdefenaR

source

pub const fn variant(&self) -> Privdefena

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

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.

source

pub fn is_value2(&self) -> bool

If the MPU is enabled, enables use of the default memory map as a background region for privileged software accesses.