Trait embassy_stm32::sai::Dma

source ·
pub trait Dma<T: Instance, M: SubBlockInstance>: 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<SAI1, A> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<T> Dma<SAI4, A> for T
where T: Channel + MuxChannel<Mux = DMAMUX2>,

source§

impl<T> Dma<SAI4, B> for T
where T: Channel + MuxChannel<Mux = DMAMUX2>,