Struct cortexm4::mpu::MPU
[−]
[src]
pub struct MPU(*const Registers);
Constructor field is private to limit who can create a new MPU
Methods
impl MPU
[src]
Trait Implementations
impl MPU for MPU
[src]
fn enable_mpu(&self)
[src]
Enable the MPU. Read more
fn disable_mpu(&self)
[src]
Completely disable the MPU.
fn create_region(
region_num: usize,
start: usize,
len: usize,
execute: ExecutePermission,
access: AccessPermission
) -> Option<Region>
[src]
region_num: usize,
start: usize,
len: usize,
execute: ExecutePermission,
access: AccessPermission
) -> Option<Region>
Creates a new MPU-specific memory protection region Read more
fn set_mpu(&self, region: Region)
[src]
Sets the base address, size and access attributes of the given MPU region number. Read more