RegisterBlock

Struct RegisterBlock 

#[repr(C)]
pub struct RegisterBlock {
Show 23 fields _reserved0: [u8; 8], plasc: Plasc, plamc: Plamc, cpcr: Cpcr, iscr: Iscr, _reserved4: [u8; 28], pid: Pid, _reserved5: [u8; 12], cpo: Cpo, _reserved6: [u8; 956], lmdr0: Lmdr0, lmdr1: Lmdr1, lmdr2: Lmdr2, _reserved9: [u8; 116], lmpecr: Lmpecr, _reserved10: [u8; 4], lmpeir: Lmpeir, _reserved11: [u8; 4], lmfar: Lmfar, lmfatr: Lmfatr, _reserved13: [u8; 8], lmfdhr: Lmfdhr, lmfdlr: Lmfdlr,
}
Expand description

Register block

Fields§

§_reserved0: [u8; 8]§plasc: Plasc§plamc: Plamc§cpcr: Cpcr§iscr: Iscr§_reserved4: [u8; 28]§pid: Pid§_reserved5: [u8; 12]§cpo: Cpo§_reserved6: [u8; 956]§lmdr0: Lmdr0§lmdr1: Lmdr1§lmdr2: Lmdr2§_reserved9: [u8; 116]§lmpecr: Lmpecr§_reserved10: [u8; 4]§lmpeir: Lmpeir§_reserved11: [u8; 4]§lmfar: Lmfar§lmfatr: Lmfatr§_reserved13: [u8; 8]§lmfdhr: Lmfdhr§lmfdlr: Lmfdlr

Implementations§

§

impl RegisterBlock

pub const fn plasc(&self) -> &Plasc

0x08 - Crossbar Switch (AXBS) Slave Configuration

pub const fn plamc(&self) -> &Plamc

0x0a - Crossbar Switch (AXBS) Master Configuration

pub const fn cpcr(&self) -> &Cpcr

0x0c - Core Platform Control Register

pub const fn iscr(&self) -> &Iscr

0x10 - Interrupt Status and Control Register

pub const fn pid(&self) -> &Pid

0x30 - Process ID Register

pub const fn cpo(&self) -> &Cpo

0x40 - Compute Operation Control Register

pub const fn lmdr0(&self) -> &Lmdr0

0x400 - Local Memory Descriptor Register

pub const fn lmdr1(&self) -> &Lmdr1

0x404 - Local Memory Descriptor Register

pub const fn lmdr2(&self) -> &Lmdr2

0x408 - Local Memory Descriptor Register2

pub const fn lmpecr(&self) -> &Lmpecr

0x480 - LMEM Parity and ECC Control Register

pub const fn lmpeir(&self) -> &Lmpeir

0x488 - LMEM Parity and ECC Interrupt Register

pub const fn lmfar(&self) -> &Lmfar

0x490 - LMEM Fault Address Register

pub const fn lmfatr(&self) -> &Lmfatr

0x494 - LMEM Fault Attribute Register

pub const fn lmfdhr(&self) -> &Lmfdhr

0x4a0 - LMEM Fault Data High Register

pub const fn lmfdlr(&self) -> &Lmfdlr

0x4a4 - LMEM Fault Data Low Register

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.