pub trait RxDma<T: BasicInstance>: Channel {
    // Required method
    fn request(&self) -> Request;
}
Expand description

RxDma DMA request trait

Required Methods§

source

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> RxDma<LPUART1> for T
where T: Channel + MuxChannel<Mux = DMAMUX2>,

source§

impl<T> RxDma<UART4> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> RxDma<UART5> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> RxDma<UART7> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> RxDma<UART8> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> RxDma<USART1> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> RxDma<USART2> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> RxDma<USART3> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,

source§

impl<T> RxDma<USART6> for T
where T: Channel + MuxChannel<Mux = DMAMUX1>,