Type Alias xmc4800::ppb::mpu_rasr_a3::W

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

Register MPU_RASR_A3 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn enable(&mut self) -> EnableW<'_, MpuRasrA3Spec>

Bit 0 - Region enable bit.

source

pub fn size(&mut self) -> SizeW<'_, MpuRasrA3Spec>

Bits 1:5 - MPU protection region size

source

pub fn srd(&mut self) -> SrdW<'_, MpuRasrA3Spec>

Bits 8:15 - Subregion disable bits

source

pub fn b(&mut self) -> BW<'_, MpuRasrA3Spec>

Bit 16 - Memory access attribute

source

pub fn c(&mut self) -> CW<'_, MpuRasrA3Spec>

Bit 17 - Memory access attribute

source

pub fn s(&mut self) -> SW<'_, MpuRasrA3Spec>

Bit 18 - Shareable bit

source

pub fn tex(&mut self) -> TexW<'_, MpuRasrA3Spec>

Bits 19:21 - Memory access attribute

source

pub fn ap(&mut self) -> ApW<'_, MpuRasrA3Spec>

Bits 24:26 - Access permission field

source

pub fn xn(&mut self) -> XnW<'_, MpuRasrA3Spec>

Bit 28 - Instruction access disable bit