pub struct Dma<'d> {
    pub spi2channel: Spi2DmaChannelCreator,
    pub spi3channel: Spi3DmaChannelCreator,
    pub i2s0channel: I2s0DmaChannelCreator,
    pub i2s1channel: I2s1DmaChannelCreator,
    /* private fields */
}Expand description
DMA Peripheral
This offers the available DMA channels.
Fields§
§spi2channel: Spi2DmaChannelCreator§spi3channel: Spi3DmaChannelCreator§i2s0channel: I2s0DmaChannelCreator§i2s1channel: I2s1DmaChannelCreatorImplementations§
source§impl<'d> Dma<'d>
 
impl<'d> Dma<'d>
sourcepub fn new(
    dma: impl Peripheral<P = Dma> + 'd,
    peripheral_clock_control: &mut PeripheralClockControl
) -> Dma<'d>
 
pub fn new( dma: impl Peripheral<P = Dma> + 'd, peripheral_clock_control: &mut PeripheralClockControl ) -> Dma<'d>
Create a DMA instance.