Trait stm32f4xx_hal::dma::traits::DMASet [−][src]
pub unsafe trait DMASet<STREAM, DIRECTION, const CHANNEL: u8> { }
Expand description
Trait to mark a set of Stream, Channel and Direction for a Peripheral as correct together.
Safety
Memory corruption might occur if this trait is implemented for an invalid combination.
Implementations on Foreign Types
impl<SPI, PINS, MODE, STREAM, DIR, const CHANNEL: u8> DMASet<STREAM, DIR, CHANNEL> for I2s<I2s<SPI, PINS>, MODE> where
SPI: DMASet<STREAM, DIR, CHANNEL>,
DMA is available for I2S based on the underlying implementations for SPI