Type Definition TxSink1
async_stm32f1xx::serial
type TxSink1<'a, BUF> = TxSink<'a, BUF, TxDma1>;
A type shorthand for specifying different DMA channels easily.
impl<'a, BUF> TxSink1<'a, BUF>
pub fn new(buf: &'a mut BUF, tx: TxDma1) -> Self
Creates a new TxSink from the specified buffer and DMA transmitter.
TxSink