Skip to main content

Ch3Dma

Trait Ch3Dma 

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

Ch3Dma DMA request trait

Required Methods§

Source

fn request(&self) -> Request

Get the DMA request number needed to use this channel asCh3Dma 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".

Implementors§