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<DMA1_CH1> for AnyChannel
impl From<DMA1_CH1> for AnyChannel
Source§impl From<DMA1_CH2> for AnyChannel
impl From<DMA1_CH2> for AnyChannel
Source§impl From<DMA1_CH3> for AnyChannel
impl From<DMA1_CH3> for AnyChannel
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