RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock { pub cntcv: CNTCV, pub cntpidr4: CNTPIDR4, pub cntpidr0: CNTPIDR0, pub cntpidr1: CNTPIDR1, pub cntpidr2: CNTPIDR2, pub cntpidr3: CNTPIDR3, pub cntcidr0: CNTCIDR0, pub cntcidr1: CNTCIDR1, pub cntcidr2: CNTCIDR2, pub cntcidr3: CNTCIDR3, /* private fields */ }
Expand description

Register block

Fields§

§cntcv: CNTCV

0x00..0x08 - Current count value

§cntpidr4: CNTPIDR4

0xfd0 - Peripheral Identification Register 4

§cntpidr0: CNTPIDR0

0xfe0 - Peripheral Identification Register 0

§cntpidr1: CNTPIDR1

0xfe4 - Peripheral Identification Register 1

§cntpidr2: CNTPIDR2

0xfe8 - Peripheral Identification Register 2

§cntpidr3: CNTPIDR3

0xfec - Peripheral Identification Register 3

§cntcidr0: CNTCIDR0

0xff0 - Component Identification Register 0.

§cntcidr1: CNTCIDR1

0xff4 - Component Identification Register 1

§cntcidr2: CNTCIDR2

0xff8 - Component Identification Register 2

§cntcidr3: CNTCIDR3

0xffc - Component Identification Register 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.