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 dmac_int_st(&self) -> &DmacIntSt

0x04 - Interrupt status register

Source

pub const fn dmac_int_clr(&self) -> &DmacIntClr

0x08 - Interrupt clear register

Source

pub const fn dmac_ori_int_st(&self) -> &DmacOriIntSt

0x0c - Raw interrupt status register

Source

pub const fn dmac_en_chns(&self) -> &DmacEnChns

0x10 - Channel enable query register

Source

pub const fn dmac_burst_req(&self) -> &DmacBurstReq

0x14 - Burst software request register

Source

pub const fn dmac_single_req(&self) -> &DmacSingleReq

0x18 - Single software request register

Source

pub const fn dmac_config(&self) -> &DmacConfig

0x1c - DMA configuration register

Source

pub const fn dmac_sync(&self) -> &DmacSync

0x20 - DMA sync register

Source

pub const fn dmac_lli_0(&self, n: usize) -> &DmacLli_

0x100..0x110 - Channel %s [dim=4] linked list register

Source

pub fn dmac_lli_0_iter(&self) -> impl Iterator<Item = &DmacLli_>

Iterator for array of: 0x100..0x110 - Channel %s [dim=4] linked list register

Source

pub const fn dmac_d_addr_0(&self, n: usize) -> &DmacDAddr_

0x104..0x114 - Channel %s [dim=4] destination address

Source

pub fn dmac_d_addr_0_iter(&self) -> impl Iterator<Item = &DmacDAddr_>

Iterator for array of: 0x104..0x114 - Channel %s [dim=4] destination address

Source

pub const fn dmac_chn_config_0(&self, n: usize) -> &DmacChnConfig_

0x108..0x118 - Channel %s [dim=4] configuration register

Source

pub fn dmac_chn_config_0_iter(&self) -> impl Iterator<Item = &DmacChnConfig_>

Iterator for array of: 0x108..0x118 - Channel %s [dim=4] configuration register

Source

pub const fn dmac_s_addr_0(&self, n: usize) -> &DmacSAddr_

0x110..0x120 - Channel %s [dim=4] source address

Source

pub fn dmac_s_addr_0_iter(&self) -> impl Iterator<Item = &DmacSAddr_>

Iterator for array of: 0x110..0x120 - Channel %s [dim=4] source address

Source

pub const fn dmac_chn_control_0(&self, n: usize) -> &DmacChnControl_

0x114..0x124 - Channel %s [dim=4] control register

Source

pub fn dmac_chn_control_0_iter(&self) -> impl Iterator<Item = &DmacChnControl_>

Iterator for array of: 0x114..0x124 - Channel %s [dim=4] control 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.