Struct rp2040_pac2::dma::Dma[][src]

pub struct Dma(pub *mut u8);

DMA with separate read and write masters

Implementations

impl Dma[src]

pub fn intr(self) -> Reg<Intr, RW>[src]

Interrupt Status (raw)

pub fn inte0(self) -> Reg<Inte0, RW>[src]

Interrupt Enables for IRQ 0

pub fn intf0(self) -> Reg<Intf0, RW>[src]

Force Interrupts

pub fn ints0(self) -> Reg<Ints0, RW>[src]

Interrupt Status for IRQ 0

pub fn inte1(self) -> Reg<Inte1, RW>[src]

Interrupt Enables for IRQ 1

pub fn intf1(self) -> Reg<Intf1, RW>[src]

Force Interrupts for IRQ 1

pub fn ints1(self) -> Reg<Ints1, RW>[src]

Interrupt Status (masked) for IRQ 1

pub fn multi_chan_trigger(self) -> Reg<MultiChanTrigger, RW>[src]

Trigger one or more channels simultaneously

pub fn sniff_ctrl(self) -> Reg<SniffCtrl, RW>[src]

Sniffer Control

pub fn sniff_data(self) -> Reg<u32, RW>[src]

Data accumulator for sniff hardware Write an initial seed value here before starting a DMA transfer on the channel indicated by SNIFF_CTRL_DMACH. The hardware will update this register each time it observes a read from the indicated channel. Once the channel completes, the final result can be read from this register.

pub fn fifo_levels(self) -> Reg<FifoLevels, RW>[src]

Debug RAF, WAF, TDF levels

pub fn chan_abort(self) -> Reg<ChanAbort, RW>[src]

Abort an in-progress transfer sequence on one or more channels

pub fn n_channels(self) -> Reg<NChannels, RW>[src]

The number of channels this DMA instance is equipped with. This DMA supports up to 16 hardware channels, but can be configured with as few as one, to minimise silicon area.

pub fn ch(self, n: usize) -> Channel[src]

pub fn timer(self, n: usize) -> Reg<Timer, RW>[src]

Pacing (X/Y) Fractional Timer The pacing timer produces TREQ assertions at a rate set by ((X/Y) * sys_clk). This equation is evaluated every sys_clk cycles and therefore can only generate TREQs at a rate of 1 per sys_clk (i.e. permanent TREQ) or less.

Trait Implementations

impl Clone for Dma[src]

impl Copy for Dma[src]

impl Send for Dma[src]

impl Sync for Dma[src]

Auto Trait Implementations

impl Unpin for Dma

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.