pub struct AnyChannel { /* private fields */ }
Expand description
Type-erased DMA channel.
Trait Implementations§
source§impl Channel for AnyChannel
impl Channel for AnyChannel
source§fn degrade(self) -> AnyChannel
fn degrade(self) -> AnyChannel
Type-erase (degrade) this pin into an
AnyChannel
. Read moresource§impl From<GPDMA1_CH0> for AnyChannel
impl From<GPDMA1_CH0> for AnyChannel
source§fn from(x: GPDMA1_CH0) -> Self
fn from(x: GPDMA1_CH0) -> Self
Converts to this type from the input type.
source§impl From<GPDMA1_CH1> for AnyChannel
impl From<GPDMA1_CH1> for AnyChannel
source§fn from(x: GPDMA1_CH1) -> Self
fn from(x: GPDMA1_CH1) -> Self
Converts to this type from the input type.
source§impl From<GPDMA1_CH2> for AnyChannel
impl From<GPDMA1_CH2> for AnyChannel
source§fn from(x: GPDMA1_CH2) -> Self
fn from(x: GPDMA1_CH2) -> Self
Converts to this type from the input type.
source§impl From<GPDMA1_CH3> for AnyChannel
impl From<GPDMA1_CH3> for AnyChannel
source§fn from(x: GPDMA1_CH3) -> Self
fn from(x: GPDMA1_CH3) -> Self
Converts to this type from the input type.
source§impl From<GPDMA1_CH4> for AnyChannel
impl From<GPDMA1_CH4> for AnyChannel
source§fn from(x: GPDMA1_CH4) -> Self
fn from(x: GPDMA1_CH4) -> Self
Converts to this type from the input type.
source§impl From<GPDMA1_CH5> for AnyChannel
impl From<GPDMA1_CH5> for AnyChannel
source§fn from(x: GPDMA1_CH5) -> Self
fn from(x: GPDMA1_CH5) -> Self
Converts to this type from the input type.
source§impl From<GPDMA1_CH6> for AnyChannel
impl From<GPDMA1_CH6> for AnyChannel
source§fn from(x: GPDMA1_CH6) -> Self
fn from(x: GPDMA1_CH6) -> Self
Converts to this type from the input type.
source§impl From<GPDMA1_CH7> for AnyChannel
impl From<GPDMA1_CH7> for AnyChannel
source§fn from(x: GPDMA1_CH7) -> Self
fn from(x: GPDMA1_CH7) -> Self
Converts to this type from the input type.
source§impl From<GPDMA2_CH0> for AnyChannel
impl From<GPDMA2_CH0> for AnyChannel
source§fn from(x: GPDMA2_CH0) -> Self
fn from(x: GPDMA2_CH0) -> Self
Converts to this type from the input type.
source§impl From<GPDMA2_CH1> for AnyChannel
impl From<GPDMA2_CH1> for AnyChannel
source§fn from(x: GPDMA2_CH1) -> Self
fn from(x: GPDMA2_CH1) -> Self
Converts to this type from the input type.
source§impl From<GPDMA2_CH2> for AnyChannel
impl From<GPDMA2_CH2> for AnyChannel
source§fn from(x: GPDMA2_CH2) -> Self
fn from(x: GPDMA2_CH2) -> Self
Converts to this type from the input type.
source§impl From<GPDMA2_CH3> for AnyChannel
impl From<GPDMA2_CH3> for AnyChannel
source§fn from(x: GPDMA2_CH3) -> Self
fn from(x: GPDMA2_CH3) -> Self
Converts to this type from the input type.
source§impl From<GPDMA2_CH4> for AnyChannel
impl From<GPDMA2_CH4> for AnyChannel
source§fn from(x: GPDMA2_CH4) -> Self
fn from(x: GPDMA2_CH4) -> Self
Converts to this type from the input type.
source§impl From<GPDMA2_CH5> for AnyChannel
impl From<GPDMA2_CH5> for AnyChannel
source§fn from(x: GPDMA2_CH5) -> Self
fn from(x: GPDMA2_CH5) -> Self
Converts to this type from the input type.
source§impl From<GPDMA2_CH6> for AnyChannel
impl From<GPDMA2_CH6> for AnyChannel
source§fn from(x: GPDMA2_CH6) -> Self
fn from(x: GPDMA2_CH6) -> Self
Converts to this type from the input type.
source§impl From<GPDMA2_CH7> for AnyChannel
impl From<GPDMA2_CH7> for AnyChannel
source§fn from(x: GPDMA2_CH7) -> Self
fn from(x: GPDMA2_CH7) -> Self
Converts to this type from the input type.
source§impl Peripheral for AnyChannel
impl Peripheral for AnyChannel
source§type P = AnyChannel
type P = AnyChannel
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
Auto Trait Implementations§
impl Freeze for AnyChannel
impl RefUnwindSafe for AnyChannel
impl Send for AnyChannel
impl Sync for AnyChannel
impl Unpin for AnyChannel
impl UnwindSafe for AnyChannel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more