pub unsafe trait DMASet<STREAM, const CHANNEL: u8, DIRECTION> { }
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, const CHANNEL: u8, DIR> DMASet<STREAM, CHANNEL, DIR> for I2s<I2s<SPI, PINS>, MODE> where
SPI: DMASet<STREAM, CHANNEL, DIR>,
DMA is available for I2S based on the underlying implementations for SPI