Type Alias rp2040_pac::ppb::mpu_type::R

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

Register MPU_TYPE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn separate(&self) -> SEPARATE_R

Bit 0 - Indicates support for separate instruction and data address maps. Reads as 0 as ARMv6-M only supports a unified MPU.

source

pub fn dregion(&self) -> DREGION_R

Bits 8:15 - Number of regions supported by the MPU.

source

pub fn iregion(&self) -> IREGION_R

Bits 16:23 - Instruction region. Reads as zero as ARMv6-M only supports a unified MPU.