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 verid(&self) -> &Verid

0x00 - Version ID

Source

pub const fn param(&self) -> &Param

0x04 - Parameter

Source

pub const fn mcr(&self) -> &Mcr

0x10 - Controller Control

Source

pub const fn msr(&self) -> &Msr

0x14 - Controller Status

Source

pub const fn mier(&self) -> &Mier

0x18 - Controller Interrupt Enable

Source

pub const fn mder(&self) -> &Mder

0x1c - Controller DMA Enable

Source

pub const fn mcfgr0(&self) -> &Mcfgr0

0x20 - Controller Configuration 0

Source

pub const fn mcfgr1(&self) -> &Mcfgr1

0x24 - Controller Configuration 1

Source

pub const fn mcfgr2(&self) -> &Mcfgr2

0x28 - Controller Configuration 2

Source

pub const fn mcfgr3(&self) -> &Mcfgr3

0x2c - Controller Configuration 3

Source

pub const fn mdmr(&self) -> &Mdmr

0x40 - Controller Data Match

Source

pub const fn mccr0(&self) -> &Mccr0

0x48 - Controller Clock Configuration 0

Source

pub const fn mccr1(&self) -> &Mccr1

0x50 - Controller Clock Configuration 1

Source

pub const fn mfcr(&self) -> &Mfcr

0x58 - Controller FIFO Control

Source

pub const fn mfsr(&self) -> &Mfsr

0x5c - Controller FIFO Status

Source

pub const fn mtdr(&self) -> &Mtdr

0x60 - Controller Transmit Data

Source

pub const fn mrdr(&self) -> &Mrdr

0x70 - Controller Receive Data

Source

pub const fn mrdror(&self) -> &Mrdror

0x78 - Controller Receive Data Read Only

Source

pub const fn scr(&self) -> &Scr

0x110 - Target Control

Source

pub const fn ssr(&self) -> &Ssr

0x114 - Target Status

Source

pub const fn sier(&self) -> &Sier

0x118 - Target Interrupt Enable

Source

pub const fn sder(&self) -> &Sder

0x11c - Target DMA Enable

Source

pub const fn scfgr0(&self) -> &Scfgr0

0x120 - Target Configuration 0

Source

pub const fn scfgr1(&self) -> &Scfgr1

0x124 - Target Configuration 1

Source

pub const fn scfgr2(&self) -> &Scfgr2

0x128 - Target Configuration 2

Source

pub const fn samr(&self) -> &Samr

0x140 - Target Address Match

Source

pub const fn sasr(&self) -> &Sasr

0x150 - Target Address Status

Source

pub const fn star(&self) -> &Star

0x154 - Target Transmit ACK

Source

pub const fn stdr(&self) -> &Stdr

0x160 - Target Transmit Data

Source

pub const fn srdr(&self) -> &Srdr

0x170 - Target Receive Data

Source

pub const fn srdror(&self) -> &Srdror

0x178 - Target Receive Data Read Only

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.