pub fn new(_regs: I, prec: I::Rec) -> Self {
        prec.enable().reset();
        Self(
            Stream0 { _dma: PhantomData },
            Stream1 { _dma: PhantomData },
            Stream2 { _dma: PhantomData },
            Stream3 { _dma: PhantomData },
            Stream4 { _dma: PhantomData },
            Stream5 { _dma: PhantomData },
            Stream6 { _dma: PhantomData },
            Stream7 { _dma: PhantomData },
            Stream8 { _dma: PhantomData },
            Stream9 { _dma: PhantomData },
            Stream10 { _dma: PhantomData },
            Stream11 { _dma: PhantomData },
            Stream12 { _dma: PhantomData },
            Stream13 { _dma: PhantomData },
            Stream14 { _dma: PhantomData },
            Stream15 { _dma: PhantomData },
        )
    }
/// Splits the DMA peripheral into streams.
Splits the DMA peripheral into streams.
Splits the DMA peripheral into streams .
pub fn new(_regs: I, prec: I::Rec) -> Self {
        prec.enable().reset();
        Self(
            Stream0 { _dma: PhantomData },
            Stream1 { _dma: PhantomData },
            Stream2 { _dma: PhantomData },
            Stream3 { _dma: PhantomData },
            Stream4 { _dma: PhantomData },
            Stream5 { _dma: PhantomData },
            Stream6 { _dma: PhantomData },
            Stream7 { _dma: PhantomData },
            Stream8 { _dma: PhantomData },
            Stream9 { _dma: PhantomData },
            Stream10 { _dma: PhantomData },
            Stream11 { _dma: PhantomData },
            Stream12 { _dma: PhantomData },
            Stream13 { _dma: PhantomData },
            Stream14 { _dma: PhantomData },
            Stream15 { _dma: PhantomData },
        )
    }
pub fn new ( _regs : I , prec : I :: Rec ) -> Self { prec . enable ( ) . reset ( ) ; Self ( Stream0 { _dma : PhantomData } , Stream1 { _dma : PhantomData } , Stream2 { _dma : PhantomData } , Stream3 { _dma : PhantomData } , Stream4 { _dma : PhantomData } , Stream5 { _dma : PhantomData } , Stream6 { _dma : PhantomData } , Stream7 { _dma : PhantomData } , Stream8 { _dma : PhantomData } , Stream9 { _dma : PhantomData } , Stream10 { _dma : PhantomData } , Stream11 { _dma : PhantomData } , Stream12 { _dma : PhantomData } , Stream13 { _dma : PhantomData } , Stream14 { _dma : PhantomData } , Stream15 { _dma : PhantomData } , ) }
Splits the DMA peripheral into streams.
Splits the DMA peripheral into streams .
_regs
I
prec
I::Rec
_regs
I
prec
I::Rec