embassy-stm32

Crates

git

Versions

stm32h562zg

Flavors

embassy_stm32::sai

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Dma<SAI1, A> for GPDMA1_CH0

Source§

impl Dma<SAI1, A> for GPDMA1_CH1

Source§

impl Dma<SAI1, A> for GPDMA1_CH2

Source§

impl Dma<SAI1, A> for GPDMA1_CH3

Source§

impl Dma<SAI1, A> for GPDMA1_CH4

Source§

impl Dma<SAI1, A> for GPDMA1_CH5

Source§

impl Dma<SAI1, A> for GPDMA1_CH6

Source§

impl Dma<SAI1, A> for GPDMA1_CH7

Source§

impl Dma<SAI1, A> for GPDMA2_CH0

Source§

impl Dma<SAI1, A> for GPDMA2_CH1

Source§

impl Dma<SAI1, A> for GPDMA2_CH2

Source§

impl Dma<SAI1, A> for GPDMA2_CH3

Source§

impl Dma<SAI1, A> for GPDMA2_CH4

Source§

impl Dma<SAI1, A> for GPDMA2_CH5

Source§

impl Dma<SAI1, A> for GPDMA2_CH6

Source§

impl Dma<SAI1, A> for GPDMA2_CH7

Source§

impl Dma<SAI1, B> for GPDMA1_CH0

Source§

impl Dma<SAI1, B> for GPDMA1_CH1

Source§

impl Dma<SAI1, B> for GPDMA1_CH2

Source§

impl Dma<SAI1, B> for GPDMA1_CH3

Source§

impl Dma<SAI1, B> for GPDMA1_CH4

Source§

impl Dma<SAI1, B> for GPDMA1_CH5

Source§

impl Dma<SAI1, B> for GPDMA1_CH6

Source§

impl Dma<SAI1, B> for GPDMA1_CH7

Source§

impl Dma<SAI1, B> for GPDMA2_CH0

Source§

impl Dma<SAI1, B> for GPDMA2_CH1

Source§

impl Dma<SAI1, B> for GPDMA2_CH2

Source§

impl Dma<SAI1, B> for GPDMA2_CH3

Source§

impl Dma<SAI1, B> for GPDMA2_CH4

Source§

impl Dma<SAI1, B> for GPDMA2_CH5

Source§

impl Dma<SAI1, B> for GPDMA2_CH6

Source§

impl Dma<SAI1, B> for GPDMA2_CH7

Source§

impl Dma<SAI2, A> for GPDMA1_CH0

Source§

impl Dma<SAI2, A> for GPDMA1_CH1

Source§

impl Dma<SAI2, A> for GPDMA1_CH2

Source§

impl Dma<SAI2, A> for GPDMA1_CH3

Source§

impl Dma<SAI2, A> for GPDMA1_CH4

Source§

impl Dma<SAI2, A> for GPDMA1_CH5

Source§

impl Dma<SAI2, A> for GPDMA1_CH6

Source§

impl Dma<SAI2, A> for GPDMA1_CH7

Source§

impl Dma<SAI2, A> for GPDMA2_CH0

Source§

impl Dma<SAI2, A> for GPDMA2_CH1

Source§

impl Dma<SAI2, A> for GPDMA2_CH2

Source§

impl Dma<SAI2, A> for GPDMA2_CH3

Source§

impl Dma<SAI2, A> for GPDMA2_CH4

Source§

impl Dma<SAI2, A> for GPDMA2_CH5

Source§

impl Dma<SAI2, A> for GPDMA2_CH6

Source§

impl Dma<SAI2, A> for GPDMA2_CH7

Source§

impl Dma<SAI2, B> for GPDMA1_CH0

Source§

impl Dma<SAI2, B> for GPDMA1_CH1

Source§

impl Dma<SAI2, B> for GPDMA1_CH2

Source§

impl Dma<SAI2, B> for GPDMA1_CH3

Source§

impl Dma<SAI2, B> for GPDMA1_CH4

Source§

impl Dma<SAI2, B> for GPDMA1_CH5

Source§

impl Dma<SAI2, B> for GPDMA1_CH6

Source§

impl Dma<SAI2, B> for GPDMA1_CH7

Source§

impl Dma<SAI2, B> for GPDMA2_CH0

Source§

impl Dma<SAI2, B> for GPDMA2_CH1

Source§

impl Dma<SAI2, B> for GPDMA2_CH2

Source§

impl Dma<SAI2, B> for GPDMA2_CH3

Source§

impl Dma<SAI2, B> for GPDMA2_CH4

Source§

impl Dma<SAI2, B> for GPDMA2_CH5

Source§

impl Dma<SAI2, B> for GPDMA2_CH6

Source§

impl Dma<SAI2, B> for GPDMA2_CH7