Type Alias xmc4200::ppb::mpu_ctrl::W

source ·
pub type W = W<MPU_CTRL_SPEC>;
Expand description

Register MPU_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn enable(&mut self) -> ENABLE_W<'_, MPU_CTRL_SPEC>

Bit 0 - Enable MPU

source

pub fn hfnmiena(&mut self) -> HFNMIENA_W<'_, MPU_CTRL_SPEC>

Bit 1 - Enable the operation of MPU during hard fault, NMI, and FAULTMASK handlers

source

pub fn privdefena(&mut self) -> PRIVDEFENA_W<'_, MPU_CTRL_SPEC>

Bit 2 - Enables privileged software access to the default memory map