Type Alias xmc4300::ppb::mpu_ctrl::PRIVDEFENA_R

source ·
pub type PRIVDEFENA_R = BitReader<PRIVDEFENA_A>;
Expand description

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

Aliased Type§

struct PRIVDEFENA_R { /* private fields */ }

Implementations§

source§

impl PRIVDEFENA_R

source

pub const fn variant(&self) -> PRIVDEFENA_A

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.