pub unsafe trait PeriAddress {
    type MemSize;

    fn address(&self) -> u32;
}
Expand description

Get an address and memory size the DMA can use.

Safety

Both the memory size and the address must be correct for the specific peripheral and for the DMA.

Required Associated Types

Memory size of the peripheral.

Required Methods

Returns the address to be used by the DMA stream.

Implementors