[][src]Trait samd_dma::storage::DmaStorage

pub trait DmaStorage: Sealed {
    type Size: Unsigned + IsLessOrEqual<CHANMAX, Output = True>;
    fn baseaddr(&self) -> *const TransferDescriptor;
fn wbaddr(&self) -> *const TransferDescriptor; }

Trait for accessing the base and write-back addresses of a storage unit.

Associated Types

type Size: Unsigned + IsLessOrEqual<CHANMAX, Output = True>

The number of channels supported.

Loading content...

Required methods

fn baseaddr(&self) -> *const TransferDescriptor

Get the address for the base descriptor memory.

fn wbaddr(&self) -> *const TransferDescriptor

Get the address for the write-back descriptor memory.

Loading content...

Implementors

impl DmaStorage for Storage1[src]

type Size = U1

impl DmaStorage for Storage10[src]

type Size = U10

impl DmaStorage for Storage11[src]

type Size = U11

impl DmaStorage for Storage12[src]

type Size = U12

impl DmaStorage for Storage2[src]

type Size = U2

impl DmaStorage for Storage3[src]

type Size = U3

impl DmaStorage for Storage4[src]

type Size = U4

impl DmaStorage for Storage5[src]

type Size = U5

impl DmaStorage for Storage6[src]

type Size = U6

impl DmaStorage for Storage7[src]

type Size = U7

impl DmaStorage for Storage8[src]

type Size = U8

impl DmaStorage for Storage9[src]

type Size = U9

impl<T: Unsigned + IsLessOrEqual<CHANMAX, Output = True>> DmaStorage for UnsafeStorage<T>[src]

type Size = T

Loading content...