Type Alias TxSink1

Source
pub type TxSink1<'a, BUF> = TxSink<'a, BUF, TxDma1>;
Expand description

A type shorthand for specifying different DMA channels easily.

Aliased Type§

pub struct TxSink1<'a, BUF>(/* private fields */);

Implementations§

Source§

impl<'a, BUF> TxSink1<'a, BUF>

Source

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

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