RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 21 fields pub cntpctlow: CNTPCTLOW, pub cntpcthigh: CNTPCTHIGH, pub cntfrq: CNTFRQ, pub cntp_cval_low: CNTP_CVAL_LOW, pub cntp_cval_high: CNTP_CVAL_HIGH, pub cntp_tval: CNTP_TVAL, pub cntp_ctl: CNTP_CTL, pub cntp_aival_low: CNTP_AIVAL_LOW, pub cntp_aival_high: CNTP_AIVAL_HIGH, pub cntp_aival_reload: CNTP_AIVAL_RELOAD, pub cntp_aival_ctl: CNTP_AIVAL_CTL, pub cntp_cfg: CNTP_CFG, 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§

§cntpctlow: CNTPCTLOW

0x00 - Physical Count Register Lower Word.

§cntpcthigh: CNTPCTHIGH

0x04 - Physical Count Register Higher Word.

§cntfrq: CNTFRQ

0x10 - Counter Frequency Register.

§cntp_cval_low: CNTP_CVAL_LOW

0x20 - Timer Compare Value Lower Word Register.

§cntp_cval_high: CNTP_CVAL_HIGH

0x24 - Timer Compare Value Higher Word Register.

§cntp_tval: CNTP_TVAL

0x28 - Timer Value register.

§cntp_ctl: CNTP_CTL

0x2c - Timer Control register.

§cntp_aival_low: CNTP_AIVAL_LOW

0x40 - AutoIncrValue Lower Word Register.

§cntp_aival_high: CNTP_AIVAL_HIGH

0x44 - AutoIncrValue Higher Word Register.

§cntp_aival_reload: CNTP_AIVAL_RELOAD

0x48 - AutoIncrValue Reload register.

§cntp_aival_ctl: CNTP_AIVAL_CTL

0x4c - AutoIncrValue Control register.

§cntp_cfg: CNTP_CFG

0x50 - Timer Configuration 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.