embassy-stm32

Crates

git

Versions

stm32h7a3zi

Flavors

embassy_stm32::spi

Trait RxDma

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

RxDma DMA request trait

Required Methods§

Source

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma 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 RxDma<SPI1> for DMA1_CH0

Source§

impl RxDma<SPI1> for DMA1_CH1

Source§

impl RxDma<SPI1> for DMA1_CH2

Source§

impl RxDma<SPI1> for DMA1_CH3

Source§

impl RxDma<SPI1> for DMA1_CH4

Source§

impl RxDma<SPI1> for DMA1_CH5

Source§

impl RxDma<SPI1> for DMA1_CH6

Source§

impl RxDma<SPI1> for DMA1_CH7

Source§

impl RxDma<SPI1> for DMA2_CH0

Source§

impl RxDma<SPI1> for DMA2_CH1

Source§

impl RxDma<SPI1> for DMA2_CH2

Source§

impl RxDma<SPI1> for DMA2_CH3

Source§

impl RxDma<SPI1> for DMA2_CH4

Source§

impl RxDma<SPI1> for DMA2_CH5

Source§

impl RxDma<SPI1> for DMA2_CH6

Source§

impl RxDma<SPI1> for DMA2_CH7

Source§

impl RxDma<SPI2> for DMA1_CH0

Source§

impl RxDma<SPI2> for DMA1_CH1

Source§

impl RxDma<SPI2> for DMA1_CH2

Source§

impl RxDma<SPI2> for DMA1_CH3

Source§

impl RxDma<SPI2> for DMA1_CH4

Source§

impl RxDma<SPI2> for DMA1_CH5

Source§

impl RxDma<SPI2> for DMA1_CH6

Source§

impl RxDma<SPI2> for DMA1_CH7

Source§

impl RxDma<SPI2> for DMA2_CH0

Source§

impl RxDma<SPI2> for DMA2_CH1

Source§

impl RxDma<SPI2> for DMA2_CH2

Source§

impl RxDma<SPI2> for DMA2_CH3

Source§

impl RxDma<SPI2> for DMA2_CH4

Source§

impl RxDma<SPI2> for DMA2_CH5

Source§

impl RxDma<SPI2> for DMA2_CH6

Source§

impl RxDma<SPI2> for DMA2_CH7

Source§

impl RxDma<SPI3> for DMA1_CH0

Source§

impl RxDma<SPI3> for DMA1_CH1

Source§

impl RxDma<SPI3> for DMA1_CH2

Source§

impl RxDma<SPI3> for DMA1_CH3

Source§

impl RxDma<SPI3> for DMA1_CH4

Source§

impl RxDma<SPI3> for DMA1_CH5

Source§

impl RxDma<SPI3> for DMA1_CH6

Source§

impl RxDma<SPI3> for DMA1_CH7

Source§

impl RxDma<SPI3> for DMA2_CH0

Source§

impl RxDma<SPI3> for DMA2_CH1

Source§

impl RxDma<SPI3> for DMA2_CH2

Source§

impl RxDma<SPI3> for DMA2_CH3

Source§

impl RxDma<SPI3> for DMA2_CH4

Source§

impl RxDma<SPI3> for DMA2_CH5

Source§

impl RxDma<SPI3> for DMA2_CH6

Source§

impl RxDma<SPI3> for DMA2_CH7

Source§

impl RxDma<SPI4> for DMA1_CH0

Source§

impl RxDma<SPI4> for DMA1_CH1

Source§

impl RxDma<SPI4> for DMA1_CH2

Source§

impl RxDma<SPI4> for DMA1_CH3

Source§

impl RxDma<SPI4> for DMA1_CH4

Source§

impl RxDma<SPI4> for DMA1_CH5

Source§

impl RxDma<SPI4> for DMA1_CH6

Source§

impl RxDma<SPI4> for DMA1_CH7

Source§

impl RxDma<SPI4> for DMA2_CH0

Source§

impl RxDma<SPI4> for DMA2_CH1

Source§

impl RxDma<SPI4> for DMA2_CH2

Source§

impl RxDma<SPI4> for DMA2_CH3

Source§

impl RxDma<SPI4> for DMA2_CH4

Source§

impl RxDma<SPI4> for DMA2_CH5

Source§

impl RxDma<SPI4> for DMA2_CH6

Source§

impl RxDma<SPI4> for DMA2_CH7

Source§

impl RxDma<SPI5> for DMA1_CH0

Source§

impl RxDma<SPI5> for DMA1_CH1

Source§

impl RxDma<SPI5> for DMA1_CH2

Source§

impl RxDma<SPI5> for DMA1_CH3

Source§

impl RxDma<SPI5> for DMA1_CH4

Source§

impl RxDma<SPI5> for DMA1_CH5

Source§

impl RxDma<SPI5> for DMA1_CH6

Source§

impl RxDma<SPI5> for DMA1_CH7

Source§

impl RxDma<SPI5> for DMA2_CH0

Source§

impl RxDma<SPI5> for DMA2_CH1

Source§

impl RxDma<SPI5> for DMA2_CH2

Source§

impl RxDma<SPI5> for DMA2_CH3

Source§

impl RxDma<SPI5> for DMA2_CH4

Source§

impl RxDma<SPI5> for DMA2_CH5

Source§

impl RxDma<SPI5> for DMA2_CH6

Source§

impl RxDma<SPI5> for DMA2_CH7

Source§

impl RxDma<SPI6> for BDMA2_CH0

Source§

impl RxDma<SPI6> for BDMA2_CH1

Source§

impl RxDma<SPI6> for BDMA2_CH2

Source§

impl RxDma<SPI6> for BDMA2_CH3

Source§

impl RxDma<SPI6> for BDMA2_CH4

Source§

impl RxDma<SPI6> for BDMA2_CH5

Source§

impl RxDma<SPI6> for BDMA2_CH6

Source§

impl RxDma<SPI6> for BDMA2_CH7