embassy-stm32

Crates

git

Versions

stm32c532fb

Flavors

TxDma

Trait TxDma 

Source
pub trait TxDma<T: Instance>: ChannelInstance {
    // Required methods
    fn request(&self) -> Request;
    fn remap(&self);
}
Expand description

TxDma DMA request trait

Required Methods§

Source

fn request(&self) -> Request

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

Source

fn remap(&self)

Remap the DMA channel

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl TxDma<LPUART1> for LPDMA1_CH0

Source§

impl TxDma<LPUART1> for LPDMA1_CH1

Source§

impl TxDma<LPUART1> for LPDMA1_CH2

Source§

impl TxDma<LPUART1> for LPDMA1_CH3

Source§

impl TxDma<LPUART1> for LPDMA2_CH0

Source§

impl TxDma<LPUART1> for LPDMA2_CH1

Source§

impl TxDma<LPUART1> for LPDMA2_CH2

Source§

impl TxDma<LPUART1> for LPDMA2_CH3

Source§

impl TxDma<UART4> for LPDMA1_CH0

Source§

impl TxDma<UART4> for LPDMA1_CH1

Source§

impl TxDma<UART4> for LPDMA1_CH2

Source§

impl TxDma<UART4> for LPDMA1_CH3

Source§

impl TxDma<UART4> for LPDMA2_CH0

Source§

impl TxDma<UART4> for LPDMA2_CH1

Source§

impl TxDma<UART4> for LPDMA2_CH2

Source§

impl TxDma<UART4> for LPDMA2_CH3

Source§

impl TxDma<UART5> for LPDMA1_CH0

Source§

impl TxDma<UART5> for LPDMA1_CH1

Source§

impl TxDma<UART5> for LPDMA1_CH2

Source§

impl TxDma<UART5> for LPDMA1_CH3

Source§

impl TxDma<UART5> for LPDMA2_CH0

Source§

impl TxDma<UART5> for LPDMA2_CH1

Source§

impl TxDma<UART5> for LPDMA2_CH2

Source§

impl TxDma<UART5> for LPDMA2_CH3

Source§

impl TxDma<USART1> for LPDMA1_CH0

Source§

impl TxDma<USART1> for LPDMA1_CH1

Source§

impl TxDma<USART1> for LPDMA1_CH2

Source§

impl TxDma<USART1> for LPDMA1_CH3

Source§

impl TxDma<USART1> for LPDMA2_CH0

Source§

impl TxDma<USART1> for LPDMA2_CH1

Source§

impl TxDma<USART1> for LPDMA2_CH2

Source§

impl TxDma<USART1> for LPDMA2_CH3

Source§

impl TxDma<USART2> for LPDMA1_CH0

Source§

impl TxDma<USART2> for LPDMA1_CH1

Source§

impl TxDma<USART2> for LPDMA1_CH2

Source§

impl TxDma<USART2> for LPDMA1_CH3

Source§

impl TxDma<USART2> for LPDMA2_CH0

Source§

impl TxDma<USART2> for LPDMA2_CH1

Source§

impl TxDma<USART2> for LPDMA2_CH2

Source§

impl TxDma<USART2> for LPDMA2_CH3