Struct stm32_hal2::dma::Dma[][src]

pub struct Dma<D> {
    pub regs: D,
}
Expand description

Represents a Direct Memory Access (DMA) peripheral.

Fields

regs: D

Implementations

Initialize a DMA peripheral, including enabling and resetting its RCC peripheral clock.

Configure a DMA channel. See L4 RM 0394, section 11.4.4. Sets the Transfer Complete interrupt.

Stop DMA.

Select which peripheral on a given channel we’re using. See L44 RM, Table 41.

Enable a specific type of interrupt. Note that the TransferComplete interrupt is enabled automatically, by the cfg_channel method.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.