Skip to main content

DmaExt

Trait DmaExt 

Source
pub trait DmaExt {
    type Channels;

    // Required method
    fn split(self, rcu: &mut Rcu) -> Self::Channels;
}
Expand description

Splits the DMA peripheral into its individual channels.

Required Associated Types§

Source

type Channels

The channels this peripheral hands out.

Required Methods§

Source

fn split(self, rcu: &mut Rcu) -> Self::Channels

Switches the DMA clock on and hands out the channels.

Consumes the peripheral, so the channels it returns are the only ones that will ever exist.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl DmaExt for Dma

Source§

type Channels = Channels

Source§

fn split(self, rcu: &mut Rcu) -> Self::Channels

Implementors§