RxDma2

Type Alias RxDma2 

Source
pub type RxDma2 = RxDma<Rx<USART2>, C6>;

Aliased Type§

pub struct RxDma2 {
    pub channel: C6,
    /* private fields */
}

Fields§

§channel: C6

Implementations§

Source§

impl RxDma2

Source

pub fn split(self) -> (Rx<USART2>, C6)

Source§

impl RxDma2

Source

pub fn frame_reader<BUFFER, const N: usize>( self, buffer: BUFFER, ) -> FrameReader<BUFFER, Self, N>
where BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,

Create a frame reader that can either react on the Character match interrupt or Transfer Complete from the DMA.

Trait Implementations§

Source§

impl<B> CircReadDma<B, u8> for RxDma2
where &'static mut B: StaticWriteBuffer<Word = u8>, B: 'static, Self: Sized,

Source§

fn circ_read(self, buffer: &'static mut B) -> CircBuffer<B, Self>

Source§

impl Receive for RxDma2

Source§

impl TransferPayload for RxDma2

Source§

fn start(&mut self)

Source§

fn stop(&mut self)