DmaExt

Trait DmaExt 

Source
pub trait DmaExt {
    type Channels;

    // Required methods
    fn reset(self, rcc: &mut Rcc) -> Self;
    fn split(self, rcc: &mut Rcc, dmamux: DMAMUX) -> Self::Channels;
}
Expand description

Extension trait to split a DMA peripheral into independent channels

Required Associated Types§

Source

type Channels

The type to split the DMA into

Required Methods§

Source

fn reset(self, rcc: &mut Rcc) -> Self

Reset the DMA peripheral

Source

fn split(self, rcc: &mut Rcc, dmamux: DMAMUX) -> Self::Channels

Split the DMA into independent channels

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§