Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn ctrl(&self) -> &Ctrl

0x00 - Control

Source

pub const fn statusa(&self) -> &Statusa

0x01 - Status A

Source

pub const fn statusb(&self) -> &Statusb

0x02 - Status B

Source

pub const fn addr(&self) -> &Addr

0x04 - Address

Source

pub const fn length(&self) -> &Length

0x08 - Length

Source

pub const fn data(&self) -> &Data

0x0c - Data

Source

pub const fn dcc(&self, n: usize) -> &Dcc

0x10..0x18 - Debug Communication Channel n

Source

pub fn dcc_iter(&self) -> impl Iterator<Item = &Dcc>

Iterator for array of: 0x10..0x18 - Debug Communication Channel n

Source

pub const fn did(&self) -> &Did

0x18 - Device Identification

Source

pub const fn cfg(&self) -> &Cfg

0x1c - Configuration

Source

pub const fn dcfg(&self, n: usize) -> &Dcfg

0xf0..0xf8 - Device Configuration

Source

pub fn dcfg_iter(&self) -> impl Iterator<Item = &Dcfg>

Iterator for array of: 0xf0..0xf8 - Device Configuration

Source

pub const fn entry0(&self) -> &Entry0

0x1000 - CoreSight ROM Table Entry 0

Source

pub const fn entry1(&self) -> &Entry1

0x1004 - CoreSight ROM Table Entry 1

Source

pub const fn end(&self) -> &End

0x1008 - CoreSight ROM Table End

Source

pub const fn memtype(&self) -> &Memtype

0x1fcc - CoreSight ROM Table Memory Type

Source

pub const fn pid4(&self) -> &Pid4

0x1fd0 - Peripheral Identification 4

Source

pub const fn pid5(&self) -> &Pid5

0x1fd4 - Peripheral Identification 5

Source

pub const fn pid6(&self) -> &Pid6

0x1fd8 - Peripheral Identification 6

Source

pub const fn pid7(&self) -> &Pid7

0x1fdc - Peripheral Identification 7

Source

pub const fn pid0(&self) -> &Pid0

0x1fe0 - Peripheral Identification 0

Source

pub const fn pid1(&self) -> &Pid1

0x1fe4 - Peripheral Identification 1

Source

pub const fn pid2(&self) -> &Pid2

0x1fe8 - Peripheral Identification 2

Source

pub const fn pid3(&self) -> &Pid3

0x1fec - Peripheral Identification 3

Source

pub const fn cid0(&self) -> &Cid0

0x1ff0 - Component Identification 0

Source

pub const fn cid1(&self) -> &Cid1

0x1ff4 - Component Identification 1

Source

pub const fn cid2(&self) -> &Cid2

0x1ff8 - Component Identification 2

Source

pub const fn cid3(&self) -> &Cid3

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