DmaStream

Trait DmaStream 

Source
pub trait DmaStream {
    // Required methods
    fn listen(&mut self, event: Event);
    fn unlisten(&mut self, event: Event);
    fn is_complete(&self) -> bool;
    fn has_error(&self) -> bool;
    fn reset(&mut self);
}
Expand description

DMA stream peripheral

Required Methods§

Source

fn listen(&mut self, event: Event)

Enable interrupt

Source

fn unlisten(&mut self, event: Event)

Disable interrupt

Source

fn is_complete(&self) -> bool

Transfer is complete?

Source

fn has_error(&self) -> bool

Transfer has error?

Source

fn reset(&mut self)

Reset after a transfer

Implementors§

Source§

impl DmaStream for stm32f429_hal::dma::dma1::S0

Source§

impl DmaStream for stm32f429_hal::dma::dma1::S1

Source§

impl DmaStream for stm32f429_hal::dma::dma1::S2

Source§

impl DmaStream for stm32f429_hal::dma::dma1::S3

Source§

impl DmaStream for stm32f429_hal::dma::dma1::S4

Source§

impl DmaStream for stm32f429_hal::dma::dma1::S5

Source§

impl DmaStream for stm32f429_hal::dma::dma1::S6

Source§

impl DmaStream for stm32f429_hal::dma::dma1::S7

Source§

impl DmaStream for stm32f429_hal::dma::dma2::S0

Source§

impl DmaStream for stm32f429_hal::dma::dma2::S1

Source§

impl DmaStream for stm32f429_hal::dma::dma2::S2

Source§

impl DmaStream for stm32f429_hal::dma::dma2::S3

Source§

impl DmaStream for stm32f429_hal::dma::dma2::S4

Source§

impl DmaStream for stm32f429_hal::dma::dma2::S5

Source§

impl DmaStream for stm32f429_hal::dma::dma2::S6

Source§

impl DmaStream for stm32f429_hal::dma::dma2::S7