Trait Stream

Source
pub trait Stream {
    // Required methods
    fn number() -> usize;
    fn clear_status_flags(dma: &RegisterBlock);
    fn is_transfer_complete(dma: &RegisterBlock) -> bool;
    fn is_half_transfer(dma: &RegisterBlock) -> bool;
    fn is_transfer_error(dma: &RegisterBlock) -> bool;
    fn is_direct_mode_error(dma: &RegisterBlock) -> bool;
    fn is_fifo_error(dma: &RegisterBlock) -> bool;
}
Expand description

Implemented for all types that represent DMA streams

This is an internal trait. End users neither need to implement it, nor use it directly.

Required Methods§

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<I> Stream for Stream0<I>

Source§

impl<I> Stream for Stream1<I>

Source§

impl<I> Stream for Stream2<I>

Source§

impl<I> Stream for Stream3<I>

Source§

impl<I> Stream for Stream4<I>

Source§

impl<I> Stream for Stream5<I>

Source§

impl<I> Stream for Stream6<I>

Source§

impl<I> Stream for Stream7<I>