Struct atsame51j::dsu::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 26 fields pub ctrl: CTRL, pub statusa: STATUSA, pub statusb: STATUSB, pub addr: ADDR, pub length: LENGTH, pub data: DATA, pub dcc: [DCC; 2], pub did: DID, pub cfg: CFG, pub dcfg: [DCFG; 2], pub entry0: ENTRY0, pub entry1: ENTRY1, pub end: END, pub memtype: MEMTYPE, pub pid4: PID4, pub pid5: PID5, pub pid6: PID6, pub pid7: PID7, pub pid0: PID0, pub pid1: PID1, pub pid2: PID2, pub pid3: PID3, pub cid0: CID0, pub cid1: CID1, pub cid2: CID2, pub cid3: CID3, /* private fields */
}
Expand description

Register block

Fields§

§ctrl: CTRL

0x00 - Control

§statusa: STATUSA

0x01 - Status A

§statusb: STATUSB

0x02 - Status B

§addr: ADDR

0x04 - Address

§length: LENGTH

0x08 - Length

§data: DATA

0x0c - Data

§dcc: [DCC; 2]

0x10..0x18 - Debug Communication Channel n

§did: DID

0x18 - Device Identification

§cfg: CFG

0x1c - Configuration

§dcfg: [DCFG; 2]

0xf0..0xf8 - Device Configuration

§entry0: ENTRY0

0x1000 - CoreSight ROM Table Entry 0

§entry1: ENTRY1

0x1004 - CoreSight ROM Table Entry 1

§end: END

0x1008 - CoreSight ROM Table End

§memtype: MEMTYPE

0x1fcc - CoreSight ROM Table Memory Type

§pid4: PID4

0x1fd0 - Peripheral Identification 4

§pid5: PID5

0x1fd4 - Peripheral Identification 5

§pid6: PID6

0x1fd8 - Peripheral Identification 6

§pid7: PID7

0x1fdc - Peripheral Identification 7

§pid0: PID0

0x1fe0 - Peripheral Identification 0

§pid1: PID1

0x1fe4 - Peripheral Identification 1

§pid2: PID2

0x1fe8 - Peripheral Identification 2

§pid3: PID3

0x1fec - Peripheral Identification 3

§cid0: CID0

0x1ff0 - Component Identification 0

§cid1: CID1

0x1ff4 - Component Identification 1

§cid2: CID2

0x1ff8 - Component Identification 2

§cid3: 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>,

§

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.