pub unsafe trait PeriAddress {
type MemSize;
// Required method
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§
Required Methods§
Implementations on Foreign Types§
Source§impl<SPI, MS, TR, STD> PeriAddress for I2sDriver<I2s<SPI>, MS, TR, STD>
I2S DMA reads from and writes to the data register
impl<SPI, MS, TR, STD> PeriAddress for I2sDriver<I2s<SPI>, MS, TR, STD>
I2S DMA reads from and writes to the data register
Implementors§
Source§impl PeriAddress for MemoryToMemory<u8>
impl PeriAddress for MemoryToMemory<u8>
Source§impl PeriAddress for MemoryToMemory<u16>
impl PeriAddress for MemoryToMemory<u16>
Source§impl PeriAddress for MemoryToMemory<u32>
impl PeriAddress for MemoryToMemory<u32>
Source§impl<SPIext: DualInstance, MS, TR, STD> PeriAddress for DualI2sDmaTarget<DualI2s<SPIext>, Ext, MS, TR, STD>where
DualI2s<SPIext>: DualI2sPeripheral,
I2S DMA reads from and writes to the data register
impl<SPIext: DualInstance, MS, TR, STD> PeriAddress for DualI2sDmaTarget<DualI2s<SPIext>, Ext, MS, TR, STD>where
DualI2s<SPIext>: DualI2sPeripheral,
I2S DMA reads from and writes to the data register
Source§impl<SPIext: DualInstance, MS, TR, STD> PeriAddress for DualI2sDmaTarget<DualI2s<SPIext>, Main, MS, TR, STD>where
DualI2s<SPIext>: DualI2sPeripheral,
I2S DMA reads from and writes to the data register
impl<SPIext: DualInstance, MS, TR, STD> PeriAddress for DualI2sDmaTarget<DualI2s<SPIext>, Main, MS, TR, STD>where
DualI2s<SPIext>: DualI2sPeripheral,
I2S DMA reads from and writes to the data register