Trait alt_stm32f30x_hal::serial::ReadDma
source · [−]pub trait ReadDma<B>: DmaChannel where
B: AsMut<[u8]>,
Self: Sized, {
fn circ_read(
self,
chan: Self::Dma,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, Self::Dma>;
fn read_exact(
self,
chan: Self::Dma,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, Self::Dma, Self>;
}
Expand description
ReadDma
Required Methods
circ
fn read_exact(
self,
chan: Self::Dma,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, Self::Dma, Self>
fn read_exact(
self,
chan: Self::Dma,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, Self::Dma, Self>
exact