Type Alias xmc4300::ppb::mpu_ctrl::PrivdefenaW

source ·
pub type PrivdefenaW<'a, REG> = BitWriter<'a, REG, Privdefena>;
Expand description

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

Aliased Type§

struct PrivdefenaW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> PrivdefenaW<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn value1(self) -> &'a mut W<REG>

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 value2(self) -> &'a mut W<REG>

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