[][src]Trait alt_stm32f30x_hal::serial::ReadDma

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>; }

ReadDma

Required methods

fn circ_read(
    self,
    chan: Self::Dma,
    buffer: &'static mut [B; 2]
) -> CircBuffer<B, Self::Dma>

circ

fn read_exact(
    self,
    chan: Self::Dma,
    buffer: &'static mut B
) -> Transfer<W, &'static mut B, Self::Dma, Self>

exact

Loading content...

Implementors

impl<B> ReadDma<B> for Rx<USART1> where
    B: AsMut<[u8]>, 
[src]

impl<B> ReadDma<B> for Rx<USART2> where
    B: AsMut<[u8]>, 
[src]

impl<B> ReadDma<B> for Rx<USART3> where
    B: AsMut<[u8]>, 
[src]

Loading content...