Type Alias xmc4300::ppb::mpu_rasr_a2::W
source · pub type W = W<MPU_RASR_A2_SPEC>;
Expand description
Register MPU_RASR_A2
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn enable(&mut self) -> ENABLE_W<'_, MPU_RASR_A2_SPEC>
pub fn enable(&mut self) -> ENABLE_W<'_, MPU_RASR_A2_SPEC>
Bit 0 - Region enable bit.
sourcepub fn size(&mut self) -> SIZE_W<'_, MPU_RASR_A2_SPEC>
pub fn size(&mut self) -> SIZE_W<'_, MPU_RASR_A2_SPEC>
Bits 1:5 - MPU protection region size
sourcepub fn srd(&mut self) -> SRD_W<'_, MPU_RASR_A2_SPEC>
pub fn srd(&mut self) -> SRD_W<'_, MPU_RASR_A2_SPEC>
Bits 8:15 - Subregion disable bits
sourcepub fn b(&mut self) -> B_W<'_, MPU_RASR_A2_SPEC>
pub fn b(&mut self) -> B_W<'_, MPU_RASR_A2_SPEC>
Bit 16 - Memory access attribute
sourcepub fn c(&mut self) -> C_W<'_, MPU_RASR_A2_SPEC>
pub fn c(&mut self) -> C_W<'_, MPU_RASR_A2_SPEC>
Bit 17 - Memory access attribute
sourcepub fn s(&mut self) -> S_W<'_, MPU_RASR_A2_SPEC>
pub fn s(&mut self) -> S_W<'_, MPU_RASR_A2_SPEC>
Bit 18 - Shareable bit
sourcepub fn tex(&mut self) -> TEX_W<'_, MPU_RASR_A2_SPEC>
pub fn tex(&mut self) -> TEX_W<'_, MPU_RASR_A2_SPEC>
Bits 19:21 - Memory access attribute
sourcepub fn ap(&mut self) -> AP_W<'_, MPU_RASR_A2_SPEC>
pub fn ap(&mut self) -> AP_W<'_, MPU_RASR_A2_SPEC>
Bits 24:26 - Access permission field
sourcepub fn xn(&mut self) -> XN_W<'_, MPU_RASR_A2_SPEC>
pub fn xn(&mut self) -> XN_W<'_, MPU_RASR_A2_SPEC>
Bit 28 - Instruction access disable bit