embassy-stm32

Crates

git

Versions

stm32h725ie

Flavors

RxDma

Trait RxDma 

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

RxDma DMA request trait

Required Methodsยง

Source

fn request(&self) -> Request

Get the DMA request number needed to use this channel as RxDma. Note: in some chips, ST calls this the โ€œchannelโ€, and calls channels โ€œstreamsโ€. embassy-stm32 always uses the โ€œchannelโ€ and โ€œrequest numberโ€ names.

Source

fn remap(&self)

Remap the DMA channel

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 BDMA_CH0

Sourceยง

impl RxDma<SPI6> for BDMA_CH1

Sourceยง

impl RxDma<SPI6> for BDMA_CH2

Sourceยง

impl RxDma<SPI6> for BDMA_CH3

Sourceยง

impl RxDma<SPI6> for BDMA_CH4

Sourceยง

impl RxDma<SPI6> for BDMA_CH5

Sourceยง

impl RxDma<SPI6> for BDMA_CH6

Sourceยง

impl RxDma<SPI6> for BDMA_CH7