pub trait RxChannelFor<P: DmaEligible>: DmaChannelConvert<PeripheralRxChannel<P>> { }
Available on crate feature
unstable
only.Expand description
Trait implemented for the RX half of split DMA channels that are compatible with a particular peripheral. Accepts complete DMA channels or split halves.
This trait is similar in use to DmaChannelFor
.
You can use this in places where a peripheral driver would expect a
DmaRxChannel
implementation.