embassy-stm32

Crates

git

Versions

stm32f413cg

Flavors

embassy_stm32::sdmmc

Trait SdmmcDma

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

SdmmcDma DMA request trait

Required Methods§

Source

fn request(&self) -> Request

Get the DMA request number needed to use this channel asSdmmcDma 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§