[−][src]Type Definition async_stm32f1xx::serial::RxStream3
type RxStream3<BUF> = RxStream<BUF, RxDma3>;
A type shorthand for specifying different DMA channels easily.
Implementations
impl<BUF> RxStream3<BUF>
[src]
pub fn new(buf: &'static mut [BUF; 2], rx: RxDma3) -> 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], RxDma3)
[src]
Releases the buffers and DMA transmitter.
Trait Implementations
impl<BUF> FusedStream for RxStream3<BUF> where
BUF: Clone,
[src]
BUF: Clone,
fn is_terminated(&self) -> bool
[src]
impl<BUF> Stream for RxStream3<BUF> where
BUF: Clone,
[src]
BUF: Clone,