Trait Channel

Source
pub trait Channel {
    const VALUE: DmaChannel;
}
Expand description

A trait for marker tha represent Channel of a DMA stream.

Required Associated Constants§

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 ChannelX<0>

Source§

const VALUE: DmaChannel = DmaChannel::Channel0

Source§

impl Channel for ChannelX<1>

Source§

const VALUE: DmaChannel = DmaChannel::Channel1

Source§

impl Channel for ChannelX<2>

Source§

const VALUE: DmaChannel = DmaChannel::Channel2

Source§

impl Channel for ChannelX<3>

Source§

const VALUE: DmaChannel = DmaChannel::Channel3

Source§

impl Channel for ChannelX<4>

Source§

const VALUE: DmaChannel = DmaChannel::Channel4

Source§

impl Channel for ChannelX<5>

Source§

const VALUE: DmaChannel = DmaChannel::Channel5

Source§

impl Channel for ChannelX<6>

Source§

const VALUE: DmaChannel = DmaChannel::Channel6

Source§

impl Channel for ChannelX<7>

Source§

const VALUE: DmaChannel = DmaChannel::Channel7