pub type W = W<MPU_CTRL_SPEC>;
Expand description
Register MPU_CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn enable(&mut self) -> ENABLE_W<'_, MPU_CTRL_SPEC>
pub fn enable(&mut self) -> ENABLE_W<'_, MPU_CTRL_SPEC>
Bit 0 - Enable MPU
sourcepub fn hfnmiena(&mut self) -> HFNMIENA_W<'_, MPU_CTRL_SPEC>
pub fn hfnmiena(&mut self) -> HFNMIENA_W<'_, MPU_CTRL_SPEC>
Bit 1 - Enable the operation of MPU during hard fault, NMI, and FAULTMASK handlers
sourcepub fn privdefena(&mut self) -> PRIVDEFENA_W<'_, MPU_CTRL_SPEC>
pub fn privdefena(&mut self) -> PRIVDEFENA_W<'_, MPU_CTRL_SPEC>
Bit 2 - Enables privileged software access to the default memory map