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