Embassy
embassy-stm32

Crates

git

Versions

stm32h755xi-cm4

Flavors

Trait embassy_stm32::hash::Dma

source ·
pub trait Dma<T: Instance>: Channel {
    // Required method
    fn request(&self) -> Request;
}
Expand description

Dma DMA request trait

Required Methods§

source

fn request(&self) -> Request

Get the DMA request number needed to use this channel asDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Dma<HASH> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,