Type Alias xmc4800::ppb::mpu_rasr_a3::R

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

Register MPU_RASR_A3 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn enable(&self) -> EnableR

Bit 0 - Region enable bit.

source

pub fn size(&self) -> SizeR

Bits 1:5 - MPU protection region size

source

pub fn srd(&self) -> SrdR

Bits 8:15 - Subregion disable bits

source

pub fn b(&self) -> BR

Bit 16 - Memory access attribute

source

pub fn c(&self) -> CR

Bit 17 - Memory access attribute

source

pub fn s(&self) -> SR

Bit 18 - Shareable bit

source

pub fn tex(&self) -> TexR

Bits 19:21 - Memory access attribute

source

pub fn ap(&self) -> ApR

Bits 24:26 - Access permission field

source

pub fn xn(&self) -> XnR

Bit 28 - Instruction access disable bit