#[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§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.