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§
Trait Implementations§
source§impl Clone for DmaChannel
impl Clone for DmaChannel
source§fn clone(&self) -> DmaChannel
fn clone(&self) -> DmaChannel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more