[−][src]Type Definition async_stm32f1xx::serial::RxStream1
type RxStream1<BUF> = RxStream<BUF, RxDma1>;
A type shorthand for specifying different DMA channels easily.
Implementations
impl<BUF> RxStream1<BUF> where
&'static mut [BUF; 2]: StaticWriteBuffer<Word = u8>,
[src]
&'static mut [BUF; 2]: StaticWriteBuffer<Word = u8>,
pub fn new(buf: &'static mut [BUF; 2], rx: RxDma1) -> Self where
BUF: AsMutSlice<Element = u8>,
[src]
BUF: AsMutSlice<Element = u8>,
Creates a new RxStream
from the specified buffers and DMA transmitter.
pub fn release(self) -> (&'static mut [BUF; 2], RxDma1)
[src]
Releases the buffers and DMA transmitter.
Trait Implementations
impl<BUF> FusedStream for RxStream1<BUF> where
BUF: Clone,
[src]
BUF: Clone,
pub fn is_terminated(&self) -> bool
[src]
impl<BUF> Stream for RxStream1<BUF> where
BUF: Clone,
[src]
BUF: Clone,