[][src]Type Definition async_stm32f1xx::serial::TxSink1

type TxSink1<'a, BUF> = TxSink<'a, BUF, TxDma1>;

A type shorthand for specifying different DMA channels easily.

Implementations

impl<'a, BUF> TxSink1<'a, BUF>[src]

pub fn new(buf: &'a mut BUF, tx: TxDma1) -> Self[src]

Creates a new TxSink from the specified buffer and DMA transmitter.