Type Alias xmc4300::ppb::mpu_rasr_a1::R

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

Register MPU_RASR_A1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn enable(&self) -> ENABLE_R

Bit 0 - Region enable bit.

source

pub fn size(&self) -> SIZE_R

Bits 1:5 - MPU protection region size

source

pub fn srd(&self) -> SRD_R

Bits 8:15 - Subregion disable bits

source

pub fn b(&self) -> B_R

Bit 16 - Memory access attribute

source

pub fn c(&self) -> C_R

Bit 17 - Memory access attribute

source

pub fn s(&self) -> S_R

Bit 18 - Shareable bit

source

pub fn tex(&self) -> TEX_R

Bits 19:21 - Memory access attribute

source

pub fn ap(&self) -> AP_R

Bits 24:26 - Access permission field

source

pub fn xn(&self) -> XN_R

Bit 28 - Instruction access disable bit