Struct cortex_m::peripheral::mpu::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub _type: RO<u32>,
pub ctrl: RW<u32>,
pub rnr: RW<u32>,
pub rbar: RW<u32>,
pub rasr: RW<u32>,
pub rbar_a1: RW<u32>,
pub rasr_a1: RW<u32>,
pub rbar_a2: RW<u32>,
pub rasr_a2: RW<u32>,
pub rbar_a3: RW<u32>,
pub rasr_a3: RW<u32>,
}
Expand description
Register block for ARMv7-M
Fields§
§_type: RO<u32>
Type
ctrl: RW<u32>
Control
rnr: RW<u32>
Region Number
rbar: RW<u32>
Region Base Address
rasr: RW<u32>
Region Attribute and Size
rbar_a1: RW<u32>
Alias 1 of RBAR
rasr_a1: RW<u32>
Alias 1 of RASR
rbar_a2: RW<u32>
Alias 2 of RBAR
rasr_a2: RW<u32>
Alias 2 of RASR
rbar_a3: RW<u32>
Alias 3 of RBAR
rasr_a3: RW<u32>
Alias 3 of RASR
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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