File tree 2 files changed +0
-15
lines changed
2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1524,13 +1524,6 @@ pub trait DmaChannel: crate::private::Sealed {
1524
1524
type Tx : TxRegisterAccess + InterruptAccess < DmaTxInterrupt > ;
1525
1525
}
1526
1526
1527
- /// A description of a DMA Channel that can be used with a peripheral.
1528
- #[ cfg( pdma) ]
1529
- pub trait PeripheralDmaChannel : DmaChannel {
1530
- /// A suitable peripheral for this DMA channel.
1531
- type P : PeripheralMarker ;
1532
- }
1533
-
1534
1527
#[ doc( hidden) ]
1535
1528
pub trait DmaChannelExt : DmaChannel {
1536
1529
fn get_rx_interrupts ( ) -> impl InterruptAccess < DmaRxInterrupt > ;
Original file line number Diff line number Diff line change @@ -329,10 +329,6 @@ macro_rules! ImplSpiChannel {
329
329
type Tx = SpiDmaTxChannelImpl <Self >;
330
330
}
331
331
332
- impl PeripheralDmaChannel for [ <Spi $num DmaChannel >] {
333
- type P = crate :: peripherals:: [ <SPI $num>] ;
334
- }
335
-
336
332
impl DmaChannelExt for [ <Spi $num DmaChannel >] {
337
333
fn get_rx_interrupts( ) -> impl InterruptAccess <DmaRxInterrupt > {
338
334
SpiDmaRxChannelImpl ( Self { } )
@@ -746,10 +742,6 @@ macro_rules! ImplI2sChannel {
746
742
type Tx = I2sDmaTxChannelImpl <Self >;
747
743
}
748
744
749
- impl PeripheralDmaChannel for [ <I2s $num DmaChannel >] {
750
- type P = crate :: peripherals:: [ <I2S $num>] ;
751
- }
752
-
753
745
impl DmaChannelExt for [ <I2s $num DmaChannel >] {
754
746
fn get_rx_interrupts( ) -> impl InterruptAccess <DmaRxInterrupt > {
755
747
I2sDmaRxChannelImpl ( Self { } )
You can’t perform that action at this time.
0 commit comments