Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn mconfig(&self) -> &Mconfig

0x00 - Controller Configuration

Source

pub const fn sconfig(&self) -> &Sconfig

0x04 - Target Configuration

Source

pub const fn sstatus(&self) -> &Sstatus

0x08 - Target Status

Source

pub const fn sctrl(&self) -> &Sctrl

0x0c - Target Control

Source

pub const fn sintset(&self) -> &Sintset

0x10 - Target Interrupt Set

Source

pub const fn sintclr(&self) -> &Sintclr

0x14 - Target Interrupt Clear

Source

pub const fn sintmasked(&self) -> &Sintmasked

0x18 - Target Interrupt Mask

Source

pub const fn serrwarn(&self) -> &Serrwarn

0x1c - Target Errors and Warnings

Source

pub const fn sdmactrl(&self) -> &Sdmactrl

0x20 - Target DMA Control

Source

pub const fn sdatactrl(&self) -> &Sdatactrl

0x2c - Target Data Control

Source

pub const fn swdatab(&self) -> &Swdatab

0x30 - Target Write Data Byte

Source

pub const fn swdatabe(&self) -> &Swdatabe

0x34 - Target Write Data Byte End

Source

pub const fn swdatah(&self) -> &Swdatah

0x38 - Target Write Data Halfword

Source

pub const fn swdatahe(&self) -> &Swdatahe

0x3c - Target Write Data Halfword End

Source

pub const fn srdatab(&self) -> &Srdatab

0x40 - Target Read Data Byte

Source

pub const fn srdatah(&self) -> &Srdatah

0x48 - Target Read Data Halfword

Source

pub const fn swdatah1(&self) -> &Swdatah1

0x54 - Target Write Data Halfword

Source

pub const fn swdatab1(&self) -> &Swdatab1

0x54 - Target Write Data Byte

Source

pub const fn scapabilities2(&self) -> &Scapabilities2

0x5c - Target Capabilities 2

Source

pub const fn scapabilities(&self) -> &Scapabilities

0x60 - Target Capabilities

Source

pub const fn sdynaddr(&self) -> &Sdynaddr

0x64 - Target Dynamic Address

Source

pub const fn smaxlimits(&self) -> &Smaxlimits

0x68 - Target Maximum Limits

Source

pub const fn sidpartno(&self) -> &Sidpartno

0x6c - Target ID Part Number

Source

pub const fn sidext(&self) -> &Sidext

0x70 - Target ID Extension

Source

pub const fn svendorid(&self) -> &Svendorid

0x74 - Target Vendor ID

Source

pub const fn stcclock(&self) -> &Stcclock

0x78 - Target Time Control Clock

Source

pub const fn smsgmapaddr(&self) -> &Smsgmapaddr

0x7c - Target Message Map Address

Source

pub const fn mconfig_ext(&self) -> &MconfigExt

0x80 - Controller Extended Configuration

Source

pub const fn mctrl(&self) -> &Mctrl

0x84 - Controller Control

Source

pub const fn mstatus(&self) -> &Mstatus

0x88 - Controller Status

Source

pub const fn mibirules(&self) -> &Mibirules

0x8c - Controller In-band Interrupt Registry and Rules

Source

pub const fn mintset(&self) -> &Mintset

0x90 - Controller Interrupt Set

Source

pub const fn mintclr(&self) -> &Mintclr

0x94 - Controller Interrupt Clear

Source

pub const fn mintmasked(&self) -> &Mintmasked

0x98 - Controller Interrupt Mask

Source

pub const fn merrwarn(&self) -> &Merrwarn

0x9c - Controller Errors and Warnings

Source

pub const fn mdmactrl(&self) -> &Mdmactrl

0xa0 - Controller DMA Control

Source

pub const fn mdatactrl(&self) -> &Mdatactrl

0xac - Controller Data Control

Source

pub const fn mwdatab(&self) -> &Mwdatab

0xb0 - Controller Write Data Byte

Source

pub const fn mwdatabe(&self) -> &Mwdatabe

0xb4 - Controller Write Data Byte End

Source

pub const fn mwdatah(&self) -> &Mwdatah

0xb8 - Controller Write Data Halfword

Source

pub const fn mwdatahe(&self) -> &Mwdatahe

0xbc - Controller Write Data Halfword End

Source

pub const fn mrdatab(&self) -> &Mrdatab

0xc0 - Controller Read Data Byte

Source

pub const fn mrdatah(&self) -> &Mrdatah

0xc8 - Controller Read Data Halfword

Source

pub const fn mwdatah1(&self) -> &Mwdatah1

0xcc - Controller Write Halfword Data (to Bus)

Source

pub const fn mwdatab1(&self) -> &Mwdatab1

0xcc - Controller Write Byte Data 1 (to Bus)

Source

pub const fn mwmsg_sdr_data(&self) -> &MwmsgSdrData

0xd0 - Controller Write Message Data in SDR mode

Source

pub const fn mwmsg_sdr_control(&self) -> &MwmsgSdrControl

0xd0 - Controller Write Message Control in SDR mode

Source

pub const fn mrmsg_sdr(&self) -> &MrmsgSdr

0xd4 - Controller Read Message in SDR mode

Source

pub const fn mwmsg_ddr_data(&self) -> &MwmsgDdrData

0xd8 - Controller Write Message Data in DDR mode

Source

pub const fn mwmsg_ddr_control2(&self) -> &MwmsgDdrControl2

0xd8 - Controller Write Message in DDR Mode Control 2

Source

pub const fn mwmsg_ddr_control(&self) -> &MwmsgDdrControl

0xd8 - Controller Write Message in DDR mode: First Control Word

Source

pub const fn mrmsg_ddr(&self) -> &MrmsgDdr

0xdc - Controller Read Message in DDR mode

Source

pub const fn mdynaddr(&self) -> &Mdynaddr

0xe4 - Controller Dynamic Address

Source

pub const fn smapctrl0(&self) -> &Smapctrl0

0x11c - Map Feature Control 0

Source

pub const fn ibiext1(&self) -> &Ibiext1

0x140 - Extended IBI Data 1

Source

pub const fn ibiext2(&self) -> &Ibiext2

0x144 - Extended IBI Data 2

Source

pub const fn sid(&self) -> &Sid

0xffc - Target Module ID

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.