pub trait UpDma<T: Basic16bitInstance>: 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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> UpDma<TIM1> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM2> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM3> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM4> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM5> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM6> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM7> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM8> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM15> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM16> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> UpDma<TIM17> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,