Enum stm32_hal2::dma::DmaChannel
source · [−]#[repr(u8)]
pub enum DmaChannel {
C0,
C1,
C2,
C3,
C4,
C5,
C6,
C7,
}
Expand description
Represents a DMA channel to select, eg when configuring for use with a peripheral. u8 representation is used to index registers on H7 PAC (And hopefully on future PACs if they adopt H7’s approach)
Variants
C0
C1
C2
C3
C4
C5
C6
C7
Trait Implementations
sourceimpl Clone for DmaChannel
impl Clone for DmaChannel
sourcefn clone(&self) -> DmaChannel
fn clone(&self) -> DmaChannel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DmaChannel
Auto Trait Implementations
impl RefUnwindSafe for DmaChannel
impl Send for DmaChannel
impl Sync for DmaChannel
impl Unpin for DmaChannel
impl UnwindSafe for DmaChannel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more