embassy-stm32

Crates

git

Versions

stm32g061g8

Flavors

embassy_stm32::timer

Trait UpDma

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

UpDma DMA request trait

Required Methods§

Source

fn request(&self) -> Request

Get the DMA request number needed to use this channel asUpDma 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 UpDma<TIM1> for DMA1_CH1

Source§

impl UpDma<TIM1> for DMA1_CH2

Source§

impl UpDma<TIM1> for DMA1_CH3

Source§

impl UpDma<TIM1> for DMA1_CH4

Source§

impl UpDma<TIM1> for DMA1_CH5

Source§

impl UpDma<TIM1> for DMA1_CH6

Source§

impl UpDma<TIM1> for DMA1_CH7

Source§

impl UpDma<TIM2> for DMA1_CH1

Source§

impl UpDma<TIM2> for DMA1_CH2

Source§

impl UpDma<TIM2> for DMA1_CH3

Source§

impl UpDma<TIM2> for DMA1_CH4

Source§

impl UpDma<TIM2> for DMA1_CH5

Source§

impl UpDma<TIM2> for DMA1_CH6

Source§

impl UpDma<TIM2> for DMA1_CH7

Source§

impl UpDma<TIM3> for DMA1_CH1

Source§

impl UpDma<TIM3> for DMA1_CH2

Source§

impl UpDma<TIM3> for DMA1_CH3

Source§

impl UpDma<TIM3> for DMA1_CH4

Source§

impl UpDma<TIM3> for DMA1_CH5

Source§

impl UpDma<TIM3> for DMA1_CH6

Source§

impl UpDma<TIM3> for DMA1_CH7

Source§

impl UpDma<TIM6> for DMA1_CH1

Source§

impl UpDma<TIM6> for DMA1_CH2

Source§

impl UpDma<TIM6> for DMA1_CH3

Source§

impl UpDma<TIM6> for DMA1_CH4

Source§

impl UpDma<TIM6> for DMA1_CH5

Source§

impl UpDma<TIM6> for DMA1_CH6

Source§

impl UpDma<TIM6> for DMA1_CH7

Source§

impl UpDma<TIM7> for DMA1_CH1

Source§

impl UpDma<TIM7> for DMA1_CH2

Source§

impl UpDma<TIM7> for DMA1_CH3

Source§

impl UpDma<TIM7> for DMA1_CH4

Source§

impl UpDma<TIM7> for DMA1_CH5

Source§

impl UpDma<TIM7> for DMA1_CH6

Source§

impl UpDma<TIM7> for DMA1_CH7

Source§

impl UpDma<TIM15> for DMA1_CH1

Source§

impl UpDma<TIM15> for DMA1_CH2

Source§

impl UpDma<TIM15> for DMA1_CH3

Source§

impl UpDma<TIM15> for DMA1_CH4

Source§

impl UpDma<TIM15> for DMA1_CH5

Source§

impl UpDma<TIM15> for DMA1_CH6

Source§

impl UpDma<TIM15> for DMA1_CH7

Source§

impl UpDma<TIM16> for DMA1_CH1

Source§

impl UpDma<TIM16> for DMA1_CH2

Source§

impl UpDma<TIM16> for DMA1_CH3

Source§

impl UpDma<TIM16> for DMA1_CH4

Source§

impl UpDma<TIM16> for DMA1_CH5

Source§

impl UpDma<TIM16> for DMA1_CH6

Source§

impl UpDma<TIM16> for DMA1_CH7

Source§

impl UpDma<TIM17> for DMA1_CH1

Source§

impl UpDma<TIM17> for DMA1_CH2

Source§

impl UpDma<TIM17> for DMA1_CH3

Source§

impl UpDma<TIM17> for DMA1_CH4

Source§

impl UpDma<TIM17> for DMA1_CH5

Source§

impl UpDma<TIM17> for DMA1_CH6

Source§

impl UpDma<TIM17> for DMA1_CH7