pub struct AnySpiDmaChannel(/* private fields */);
Available on crate feature
unstable
only.Expand description
An SPI-compatible type-erased DMA channel.
Trait Implementations§
Source§impl Debug for AnySpiDmaChannel
impl Debug for AnySpiDmaChannel
Source§impl DmaChannel for AnySpiDmaChannel
impl DmaChannel for AnySpiDmaChannel
Source§type Rx = AnySpiDmaRxChannel
type Rx = AnySpiDmaRxChannel
A description of the RX half of a DMA Channel.
Source§type Tx = AnySpiDmaTxChannel
type Tx = AnySpiDmaTxChannel
A description of the TX half of a DMA Channel.
Source§impl Format for AnySpiDmaChannelwhere
AnySpiDmaChannelInner: Format,
impl Format for AnySpiDmaChannelwhere
AnySpiDmaChannelInner: Format,
Source§impl From<Spi2DmaChannel> for AnySpiDmaChannel
impl From<Spi2DmaChannel> for AnySpiDmaChannel
Source§fn from(inner: Spi2DmaChannel) -> Self
fn from(inner: Spi2DmaChannel) -> Self
Converts to this type from the input type.
Source§impl From<Spi3DmaChannel> for AnySpiDmaChannel
impl From<Spi3DmaChannel> for AnySpiDmaChannel
Source§fn from(inner: Spi3DmaChannel) -> Self
fn from(inner: Spi3DmaChannel) -> Self
Converts to this type from the input type.
Source§impl Peripheral for AnySpiDmaChannel
impl Peripheral for AnySpiDmaChannel
Source§type P = AnySpiDmaChannel
type P = AnySpiDmaChannel
Peripheral singleton type
Source§unsafe fn clone_unchecked(&self) -> Self::P
unsafe fn clone_unchecked(&self) -> Self::P
Unsafely clone (duplicate) a peripheral singleton. Read more
Source§fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
Convert a value into a
PeripheralRef
. Read more