Skip to main content

DmaEligiblePeripheral

Trait DmaEligiblePeripheral 

Source
pub trait DmaEligiblePeripheral<D: DmaChannel> {
    // Required method
    fn dma_peripheral(&self) -> DmaPeripheral;
}
Available on crate feature unstable only.
Expand description

Implemented by peripheral singletons that can be used with a DMA engine.

Required Methods§

Source

fn dma_peripheral(&self) -> DmaPeripheral

Returns the DmaPeripheral ID for runtime compatibility checks.

Implementors§