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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn arbcfg(&self) -> &Arbcfg

0x80 - Arbitration Configuration Register

source

pub const fn arbpr(&self) -> &Arbpr

0x84 - Arbitration Priority Register

source

pub const fn chass(&self) -> &Chass

0x88 - Channel Assignment Register

source

pub const fn iclass(&self, n: usize) -> &Iclass

0xa0..0xa8 - Input Class Register

source

pub fn iclass_iter(&self) -> impl Iterator<Item = &Iclass>

Iterator for array of: 0xa0..0xa8 - Input Class Register

source

pub const fn alias(&self) -> &Alias

0xb0 - Alias Register

source

pub const fn bound(&self) -> &Bound

0xb8 - Boundary Select Register

source

pub const fn synctr(&self) -> &Synctr

0xc0 - Synchronization Control Register

source

pub const fn bfl(&self) -> &Bfl

0xc8 - Boundary Flag Register

source

pub const fn qctrl0(&self) -> &Qctrl0

0x100 - Queue 0 Source Control Register

source

pub const fn qmr0(&self) -> &Qmr0

0x104 - Queue 0 Mode Register

source

pub const fn qsr0(&self) -> &Qsr0

0x108 - Queue 0 Status Register

source

pub const fn q0r0(&self) -> &Q0r0

0x10c - Queue 0 Register 0

source

pub const fn qbur0(&self) -> &Qbur0

0x110 - Queue 0 Backup Register

source

pub const fn qinr0(&self) -> &Qinr0

0x110 - Queue 0 Input Register

source

pub const fn asctrl(&self) -> &Asctrl

0x120 - Autoscan Source Control Register

source

pub const fn asmr(&self) -> &Asmr

0x124 - Autoscan Source Mode Register

source

pub const fn assel(&self) -> &Assel

0x128 - Autoscan Source Channel Select Register

source

pub const fn aspnd(&self) -> &Aspnd

0x12c - Autoscan Source Pending Register

source

pub const fn ceflag(&self) -> &Ceflag

0x180 - Channel Event Flag Register

source

pub const fn reflag(&self) -> &Reflag

0x184 - Result Event Flag Register

source

pub const fn seflag(&self) -> &Seflag

0x188 - Source Event Flag Register

source

pub const fn cefclr(&self) -> &Cefclr

0x190 - Channel Event Flag Clear Register

source

pub const fn refclr(&self) -> &Refclr

0x194 - Result Event Flag Clear Register

source

pub const fn sefclr(&self) -> &Sefclr

0x198 - Source Event Flag Clear Register

source

pub const fn cevnp0(&self) -> &Cevnp0

0x1a0 - Channel Event Node Pointer Register 0

source

pub const fn revnp0(&self) -> &Revnp0

0x1b0 - Result Event Node Pointer Register 0

source

pub const fn revnp1(&self) -> &Revnp1

0x1b4 - Result Event Node Pointer Register 1

source

pub const fn sevnp(&self) -> &Sevnp

0x1c0 - Source Event Node Pointer Register

source

pub const fn sract(&self) -> &Sract

0x1c8 - Service Request Software Activation Trigger

source

pub const fn emuxctr(&self) -> &Emuxctr

0x1f0 - External Multiplexer Control Register

source

pub const fn vfr(&self) -> &Vfr

0x1f8 - Valid Flag Register

source

pub const fn chctr(&self, n: usize) -> &Chctr

0x200..0x220 - Channel Ctrl. Reg.

source

pub fn chctr_iter(&self) -> impl Iterator<Item = &Chctr>

Iterator for array of: 0x200..0x220 - Channel Ctrl. Reg.

source

pub const fn rcr(&self, n: usize) -> &Rcr

0x280..0x2c0 - Result Control Register

source

pub fn rcr_iter(&self) -> impl Iterator<Item = &Rcr>

Iterator for array of: 0x280..0x2c0 - Result Control Register

source

pub const fn res(&self, n: usize) -> &Res

0x300..0x340 - Result Register

source

pub fn res_iter(&self) -> impl Iterator<Item = &Res>

Iterator for array of: 0x300..0x340 - Result Register

source

pub const fn resd(&self, n: usize) -> &Resd

0x380..0x3c0 - Result Register, Debug

source

pub fn resd_iter(&self) -> impl Iterator<Item = &Resd>

Iterator for array of: 0x380..0x3c0 - Result Register, Debug

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.