@@ -22,8 +22,8 @@ use crate::{pac, rcc};
22
22
pub mod traits;
23
23
use crate :: serial:: RxISR ;
24
24
use traits:: {
25
- sealed:: { Bits , Sealed } ,
26
- Channel , DMASet , Direction , Instance , PeriAddress , SafePeripheralRead , Stream , StreamISR ,
25
+ sealed:: Bits , Channel , DMASet , Direction , Instance , PeriAddress , SafePeripheralRead , Stream ,
26
+ StreamISR ,
27
27
} ;
28
28
29
29
/// Errors.
@@ -241,14 +241,14 @@ pub type Stream6<DMA> = StreamX<DMA, 6>;
241
241
/// Stream 7 on the DMA controller.
242
242
pub type Stream7 < DMA > = StreamX < DMA , 7 > ;
243
243
244
- impl < DMA > Sealed for StreamX < DMA , 0 > { }
245
- impl < DMA > Sealed for StreamX < DMA , 1 > { }
246
- impl < DMA > Sealed for StreamX < DMA , 2 > { }
247
- impl < DMA > Sealed for StreamX < DMA , 3 > { }
248
- impl < DMA > Sealed for StreamX < DMA , 4 > { }
249
- impl < DMA > Sealed for StreamX < DMA , 5 > { }
250
- impl < DMA > Sealed for StreamX < DMA , 6 > { }
251
- impl < DMA > Sealed for StreamX < DMA , 7 > { }
244
+ impl < DMA > crate :: Sealed for StreamX < DMA , 0 > { }
245
+ impl < DMA > crate :: Sealed for StreamX < DMA , 1 > { }
246
+ impl < DMA > crate :: Sealed for StreamX < DMA , 2 > { }
247
+ impl < DMA > crate :: Sealed for StreamX < DMA , 3 > { }
248
+ impl < DMA > crate :: Sealed for StreamX < DMA , 4 > { }
249
+ impl < DMA > crate :: Sealed for StreamX < DMA , 5 > { }
250
+ impl < DMA > crate :: Sealed for StreamX < DMA , 6 > { }
251
+ impl < DMA > crate :: Sealed for StreamX < DMA , 7 > { }
252
252
253
253
/// Alias for a tuple with all DMA streams.
254
254
pub struct StreamsTuple < DMA > (
@@ -284,7 +284,7 @@ impl<DMA: rcc::Enable + rcc::Reset> StreamsTuple<DMA> {
284
284
285
285
impl < I : Instance , const S : u8 > Stream for StreamX < I , S >
286
286
where
287
- Self : Sealed + StreamISR ,
287
+ Self : crate :: Sealed + StreamISR ,
288
288
{
289
289
const NUMBER : usize = S as usize ;
290
290
@@ -523,7 +523,7 @@ macro_rules! dma_stream {
523
523
$feif: ident, $isr: ident, $tcisr: ident, $htisr: ident, $teisr: ident, $feisr: ident, $dmeisr: ident) ) ,+
524
524
$( , ) * ) => {
525
525
$(
526
- impl <I : Instance > StreamISR for StreamX <I , $number> where Self : Sealed {
526
+ impl <I : Instance > StreamISR for StreamX <I , $number> where Self : crate :: Sealed {
527
527
528
528
#[ inline( always) ]
529
529
fn clear_interrupts( & mut self ) {
0 commit comments