RxDma1

Type Alias RxDma1 

Source
pub type RxDma1 = RxDma<Rx<USART1>, C5>;

Aliased Type§

pub struct RxDma1 {
    pub channel: C5,
    /* private fields */
}

Fields§

§channel: C5

Implementations§

Source§

impl RxDma1

Source

pub fn split(self) -> (Rx<USART1>, C5)

Source§

impl RxDma1

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 RxDma1
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 RxDma1

Source§

impl TransferPayload for RxDma1

Source§

fn start(&mut self)

Source§

fn stop(&mut self)