embassy-stm32

Crates

git

Versions

stm32h745ii-cm4

Flavors

Skip to main content

TxDma

Trait TxDma 

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

TxDma DMA request trait

Required Methods§

Source

fn request(&self) -> Request

Get the DMA request number needed to use this channel as TxDma. 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 TxDma<I2C1> for DMA1_CH0

Source§

impl TxDma<I2C1> for DMA1_CH1

Source§

impl TxDma<I2C1> for DMA1_CH2

Source§

impl TxDma<I2C1> for DMA1_CH3

Source§

impl TxDma<I2C1> for DMA1_CH4

Source§

impl TxDma<I2C1> for DMA1_CH5

Source§

impl TxDma<I2C1> for DMA1_CH6

Source§

impl TxDma<I2C1> for DMA1_CH7

Source§

impl TxDma<I2C1> for DMA2_CH0

Source§

impl TxDma<I2C1> for DMA2_CH1

Source§

impl TxDma<I2C1> for DMA2_CH2

Source§

impl TxDma<I2C1> for DMA2_CH3

Source§

impl TxDma<I2C1> for DMA2_CH4

Source§

impl TxDma<I2C1> for DMA2_CH5

Source§

impl TxDma<I2C1> for DMA2_CH6

Source§

impl TxDma<I2C1> for DMA2_CH7

Source§

impl TxDma<I2C2> for DMA1_CH0

Source§

impl TxDma<I2C2> for DMA1_CH1

Source§

impl TxDma<I2C2> for DMA1_CH2

Source§

impl TxDma<I2C2> for DMA1_CH3

Source§

impl TxDma<I2C2> for DMA1_CH4

Source§

impl TxDma<I2C2> for DMA1_CH5

Source§

impl TxDma<I2C2> for DMA1_CH6

Source§

impl TxDma<I2C2> for DMA1_CH7

Source§

impl TxDma<I2C2> for DMA2_CH0

Source§

impl TxDma<I2C2> for DMA2_CH1

Source§

impl TxDma<I2C2> for DMA2_CH2

Source§

impl TxDma<I2C2> for DMA2_CH3

Source§

impl TxDma<I2C2> for DMA2_CH4

Source§

impl TxDma<I2C2> for DMA2_CH5

Source§

impl TxDma<I2C2> for DMA2_CH6

Source§

impl TxDma<I2C2> for DMA2_CH7

Source§

impl TxDma<I2C3> for DMA1_CH0

Source§

impl TxDma<I2C3> for DMA1_CH1

Source§

impl TxDma<I2C3> for DMA1_CH2

Source§

impl TxDma<I2C3> for DMA1_CH3

Source§

impl TxDma<I2C3> for DMA1_CH4

Source§

impl TxDma<I2C3> for DMA1_CH5

Source§

impl TxDma<I2C3> for DMA1_CH6

Source§

impl TxDma<I2C3> for DMA1_CH7

Source§

impl TxDma<I2C3> for DMA2_CH0

Source§

impl TxDma<I2C3> for DMA2_CH1

Source§

impl TxDma<I2C3> for DMA2_CH2

Source§

impl TxDma<I2C3> for DMA2_CH3

Source§

impl TxDma<I2C3> for DMA2_CH4

Source§

impl TxDma<I2C3> for DMA2_CH5

Source§

impl TxDma<I2C3> for DMA2_CH6

Source§

impl TxDma<I2C3> for DMA2_CH7

Source§

impl TxDma<I2C4> for BDMA_CH0

Source§

impl TxDma<I2C4> for BDMA_CH1

Source§

impl TxDma<I2C4> for BDMA_CH2

Source§

impl TxDma<I2C4> for BDMA_CH3

Source§

impl TxDma<I2C4> for BDMA_CH4

Source§

impl TxDma<I2C4> for BDMA_CH5

Source§

impl TxDma<I2C4> for BDMA_CH6

Source§

impl TxDma<I2C4> for BDMA_CH7