embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Channel

Trait Channel 

Source
pub trait Channel:
    SealedChannel
    + PeripheralType
    + Into<AnyChannel>
    + 'static {
    const INDEX: usize;
    const INTERRUPT: Interrupt;
}
Expand description

Marker trait implemented by HAL peripheral tokens that map to a DMA0 channel backed by one EDMA_0_TCD0 TCD slot.

This trait is sealed and cannot be implemented outside this crate.

Required Associated Constants§

Source

const INDEX: usize

Zero-based channel index into the TCD array.

Source

const INTERRUPT: Interrupt

Interrupt vector for this channel.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Channel for DMA_CH0

Source§

const INDEX: usize = 0usize

Source§

const INTERRUPT: Interrupt = Interrupt::DMA_CH0

Source§

impl Channel for DMA_CH1

Source§

const INDEX: usize = 1usize

Source§

const INTERRUPT: Interrupt = Interrupt::DMA_CH1

Source§

impl Channel for DMA_CH2

Source§

const INDEX: usize = 2usize

Source§

const INTERRUPT: Interrupt = Interrupt::DMA_CH2

Source§

impl Channel for DMA_CH3

Source§

const INDEX: usize = 3usize

Source§

const INTERRUPT: Interrupt = Interrupt::DMA_CH3

Source§

impl Channel for DMA_CH4

Source§

const INDEX: usize = 4usize

Source§

const INTERRUPT: Interrupt = Interrupt::DMA_CH4

Source§

impl Channel for DMA_CH5

Source§

const INDEX: usize = 5usize

Source§

const INTERRUPT: Interrupt = Interrupt::DMA_CH5

Source§

impl Channel for DMA_CH6

Source§

const INDEX: usize = 6usize

Source§

const INTERRUPT: Interrupt = Interrupt::DMA_CH6

Source§

impl Channel for DMA_CH7

Source§

const INDEX: usize = 7usize

Source§

const INTERRUPT: Interrupt = Interrupt::DMA_CH7