RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 13 fields pub soc_identity: SOC_IDENTITY, pub sys_config0: SYS_CONFIG0, pub sys_config1: SYS_CONFIG1, pub iidr: IIDR, pub pidr4: PIDR4, pub pidr0: PIDR0, pub pidr1: PIDR1, pub pidr2: PIDR2, pub pidr3: PIDR3, pub cidr0: CIDR0, pub cidr1: CIDR1, pub cidr2: CIDR2, pub cidr3: CIDR3, /* private fields */
}
Expand description

Register block

Fields§

§soc_identity: SOC_IDENTITY

0x00 - System Identity Register

§sys_config0: SYS_CONFIG0

0x04 - System Hardware Configuration 0 register

§sys_config1: SYS_CONFIG1

0x08 - System Hardware Configuration 0 register

§iidr: IIDR

0xfc8 - Subsystem Implementation Identity Register.

§pidr4: PIDR4

0xfd0 - Peripheral ID 4

§pidr0: PIDR0

0xfe0 - Peripheral ID 0

§pidr1: PIDR1

0xfe4 - Peripheral ID 1

§pidr2: PIDR2

0xfe8 - Peripheral ID 2

§pidr3: PIDR3

0xfec - Peripheral ID 3

§cidr0: CIDR0

0xff0 - Component ID 0

§cidr1: CIDR1

0xff4 - Component ID 1

§cidr2: CIDR2

0xff8 - Component ID 2

§cidr3: CIDR3

0xffc - Component ID 3

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>,

Source§

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>,

Source§

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.