embassy-stm32

Crates

git

Versions

stm32c5a3rg

Flavors

Skip to main content

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

Implementors§

Source§

impl RxDma<SPI1> for LPDMA1_CH0

Source§

impl RxDma<SPI1> for LPDMA1_CH1

Source§

impl RxDma<SPI1> for LPDMA1_CH2

Source§

impl RxDma<SPI1> for LPDMA1_CH3

Source§

impl RxDma<SPI1> for LPDMA1_CH4

Source§

impl RxDma<SPI1> for LPDMA1_CH5

Source§

impl RxDma<SPI1> for LPDMA1_CH6

Source§

impl RxDma<SPI1> for LPDMA1_CH7

Source§

impl RxDma<SPI1> for LPDMA2_CH0

Source§

impl RxDma<SPI1> for LPDMA2_CH1

Source§

impl RxDma<SPI1> for LPDMA2_CH2

Source§

impl RxDma<SPI1> for LPDMA2_CH3

Source§

impl RxDma<SPI1> for LPDMA2_CH4

Source§

impl RxDma<SPI1> for LPDMA2_CH5

Source§

impl RxDma<SPI1> for LPDMA2_CH6

Source§

impl RxDma<SPI1> for LPDMA2_CH7

Source§

impl RxDma<SPI2> for LPDMA1_CH0

Source§

impl RxDma<SPI2> for LPDMA1_CH1

Source§

impl RxDma<SPI2> for LPDMA1_CH2

Source§

impl RxDma<SPI2> for LPDMA1_CH3

Source§

impl RxDma<SPI2> for LPDMA1_CH4

Source§

impl RxDma<SPI2> for LPDMA1_CH5

Source§

impl RxDma<SPI2> for LPDMA1_CH6

Source§

impl RxDma<SPI2> for LPDMA1_CH7

Source§

impl RxDma<SPI2> for LPDMA2_CH0

Source§

impl RxDma<SPI2> for LPDMA2_CH1

Source§

impl RxDma<SPI2> for LPDMA2_CH2

Source§

impl RxDma<SPI2> for LPDMA2_CH3

Source§

impl RxDma<SPI2> for LPDMA2_CH4

Source§

impl RxDma<SPI2> for LPDMA2_CH5

Source§

impl RxDma<SPI2> for LPDMA2_CH6

Source§

impl RxDma<SPI2> for LPDMA2_CH7

Source§

impl RxDma<SPI3> for LPDMA1_CH0

Source§

impl RxDma<SPI3> for LPDMA1_CH1

Source§

impl RxDma<SPI3> for LPDMA1_CH2

Source§

impl RxDma<SPI3> for LPDMA1_CH3

Source§

impl RxDma<SPI3> for LPDMA1_CH4

Source§

impl RxDma<SPI3> for LPDMA1_CH5

Source§

impl RxDma<SPI3> for LPDMA1_CH6

Source§

impl RxDma<SPI3> for LPDMA1_CH7

Source§

impl RxDma<SPI3> for LPDMA2_CH0

Source§

impl RxDma<SPI3> for LPDMA2_CH1

Source§

impl RxDma<SPI3> for LPDMA2_CH2

Source§

impl RxDma<SPI3> for LPDMA2_CH3

Source§

impl RxDma<SPI3> for LPDMA2_CH4

Source§

impl RxDma<SPI3> for LPDMA2_CH5

Source§

impl RxDma<SPI3> for LPDMA2_CH6

Source§

impl RxDma<SPI3> for LPDMA2_CH7