UartPeriphWithDma

Trait UartPeriphWithDma 

Source
pub trait UartPeriphWithDma: UartPeriph {
    // Required methods
    fn get_tx_data_reg_addr(&self) -> usize;
    fn get_rx_data_reg_addr(&self) -> usize;
    fn enable_dma_tx(&mut self, enable: bool);
    fn enable_dma_rx(&mut self, enable: bool);
}

Required Methods§

Source

fn get_tx_data_reg_addr(&self) -> usize

Source

fn get_rx_data_reg_addr(&self) -> usize

Source

fn enable_dma_tx(&mut self, enable: bool)

Source

fn enable_dma_rx(&mut self, enable: bool)

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§