pub struct MPURegion {
pub number: u8,
pub base_address: u32,
pub size: MPUSize,
pub permissions: MPUPermissions,
pub attributes: MPUAttributes,
pub subregion_disable: u8,
pub enabled: bool,
}Expand description
MPU Region Configuration
Fields§
§number: u8Region number (0-7 or 0-15 depending on implementation)
base_address: u32Base address (must be aligned to region size)
size: MPUSizeRegion size
permissions: MPUPermissionsAccess permissions
attributes: MPUAttributesMemory attributes
subregion_disable: u8Subregion disable mask (8 bits, 1 = disabled)
enabled: boolRegion enabled
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MPURegion
impl RefUnwindSafe for MPURegion
impl Send for MPURegion
impl Sync for MPURegion
impl Unpin for MPURegion
impl UnsafeUnpin for MPURegion
impl UnwindSafe for MPURegion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more