TxSink3

Type Alias TxSink3 

Source
pub type TxSink3<'a, BUF> = TxSink<'a, BUF, TxDma3>;
Expand description

A type shorthand for specifying different DMA channels easily.

Aliased Type§

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

Implementations§

Source§

impl<'a, BUF> TxSink3<'a, BUF>

Source

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

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