Struct stm32f1xx_hal::dma::dma2::C2

source ·
pub struct C2 { /* private fields */ }
Expand description

A singleton that represents a single DMAx channel (channel X in this case)

This singleton has exclusive access to the registers of the DMAx channel X

Implementations§

Associated peripheral address

inc indicates whether the address will be incremented after every byte transfer

address where from/to data will be read/write

inc indicates whether the address will be incremented after every byte transfer

Number of bytes to transfer

Starts the DMA transfer

Stops the DMA transfer

Returns true if there’s a transfer in progress

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.