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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn csr(&self) -> &Csr

0x00 - CSR

source

pub const fn ier(&self) -> &Ier

0x04 - IER

source

pub const fn isr(&self) -> &Isr

0x08 - ISR

source

pub const fn fcr(&self) -> &Fcr

0x0c - FCR

source

pub const fn devar(&self) -> &Devar

0x10 - DEVAR

source

pub const fn ep0csr(&self) -> &Ep0csr

0x14 - EP0CSR

source

pub const fn ep0ier(&self) -> &Ep0ier

0x18 - EP0IER

source

pub const fn ep0isr(&self) -> &Ep0isr

0x1c - EP0ISR

source

pub const fn ep0tcr(&self) -> &Ep0tcr

0x20 - EP0TCR

source

pub const fn ep0cfgr(&self) -> &Ep0cfgr

0x24 - EP0CFGR

source

pub const fn ep1csr(&self) -> &Ep1csr

0x28 - EP1CSR

source

pub const fn ep1ier(&self) -> &Ep1ier

0x2c - EP1IER

source

pub const fn ep1isr(&self) -> &Ep1isr

0x30 - EP1ISR

source

pub const fn ep1tcr(&self) -> &Ep1tcr

0x34 - EP1TCR

source

pub const fn ep1cfgr(&self) -> &Ep1cfgr

0x38 - EP1CFGR

source

pub const fn ep2csr(&self) -> &Ep2csr

0x3c - EP2CSR

source

pub const fn ep2ier(&self) -> &Ep2ier

0x40 - EP2IER

source

pub const fn ep2isr(&self) -> &Ep2isr

0x44 - EP2ISR

source

pub const fn ep2tcr(&self) -> &Ep2tcr

0x48 - EP2TCR

source

pub const fn ep2cfgr(&self) -> &Ep2cfgr

0x4c - EP2CFGR

source

pub const fn ep3csr(&self) -> &Ep3csr

0x50 - EP3CSR

source

pub const fn ep3ier(&self) -> &Ep3ier

0x54 - EP3IER

source

pub const fn ep3isr(&self) -> &Ep3isr

0x58 - EP3ISR

source

pub const fn ep3tcr(&self) -> &Ep3tcr

0x5c - EP3TCR

source

pub const fn ep3cfgr(&self) -> &Ep3cfgr

0x60 - EP3CFGR

source

pub const fn ep4csr(&self) -> &Ep4csr

0x64 - EP4CSR

source

pub const fn ep4ier(&self) -> &Ep4ier

0x68 - EP4IER

source

pub const fn ep4isr(&self) -> &Ep4isr

0x6c - EP4ISR

source

pub const fn ep4tcr(&self) -> &Ep4tcr

0x70 - EP4TCR

source

pub const fn ep4cfgr(&self) -> &Ep4cfgr

0x74 - EP4CFGR

source

pub const fn ep5csr(&self) -> &Ep5csr

0x78 - EP5CSR

source

pub const fn ep5ier(&self) -> &Ep5ier

0x7c - EP5IER

source

pub const fn ep5isr(&self) -> &Ep5isr

0x80 - EP5ISR

source

pub const fn ep5tcr(&self) -> &Ep5tcr

0x84 - EP5TCR

source

pub const fn ep5cfgr(&self) -> &Ep5cfgr

0x88 - EP5CFGR

source

pub const fn ep6csr(&self) -> &Ep6csr

0x8c - EP6CSR

source

pub const fn ep6ier(&self) -> &Ep6ier

0x90 - EP6IER

source

pub const fn ep6isr(&self) -> &Ep6isr

0x94 - EP6ISR

source

pub const fn ep6tcr(&self) -> &Ep6tcr

0x98 - EP6TCR

source

pub const fn ep6cfgr(&self) -> &Ep6cfgr

0x9c - EP6CFGR

source

pub const fn ep7csr(&self) -> &Ep7csr

0xa0 - EP7CSR

source

pub const fn ep7ier(&self) -> &Ep7ier

0xa4 - EP7IER

source

pub const fn ep7isr(&self) -> &Ep7isr

0xa8 - EP7ISR

source

pub const fn ep7tcr(&self) -> &Ep7tcr

0xac - EP7TCR

source

pub const fn ep7cfgr(&self) -> &Ep7cfgr

0xb0 - EP7CFGR

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.