atsamd_hal::dmac::dma_controller

Trait ChId

Source
pub trait ChId {
    const U8: u8;
    const USIZE: usize;
}
Expand description

Trait representing a DMA channel ID

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 ChId for Ch0

Source§

const U8: u8 = 0u8

Source§

const USIZE: usize = 0usize

Source§

impl ChId for Ch1

Source§

const U8: u8 = 1u8

Source§

const USIZE: usize = 1usize

Source§

impl ChId for Ch2

Source§

const U8: u8 = 2u8

Source§

const USIZE: usize = 2usize

Source§

impl ChId for Ch3

Source§

const U8: u8 = 3u8

Source§

const USIZE: usize = 3usize

Source§

impl ChId for Ch4

Source§

const U8: u8 = 4u8

Source§

const USIZE: usize = 4usize

Source§

impl ChId for Ch5

Source§

const U8: u8 = 5u8

Source§

const USIZE: usize = 5usize

Source§

impl ChId for Ch6

Source§

const U8: u8 = 6u8

Source§

const USIZE: usize = 6usize

Source§

impl ChId for Ch7

Source§

const U8: u8 = 7u8

Source§

const USIZE: usize = 7usize

Source§

impl ChId for Ch8

Source§

const U8: u8 = 8u8

Source§

const USIZE: usize = 8usize

Source§

impl ChId for Ch9

Source§

const U8: u8 = 9u8

Source§

const USIZE: usize = 9usize

Source§

impl ChId for Ch10

Source§

const U8: u8 = 10u8

Source§

const USIZE: usize = 10usize

Source§

impl ChId for Ch11

Source§

const U8: u8 = 11u8

Source§

const USIZE: usize = 11usize

Source§

impl ChId for Ch12

Source§

const U8: u8 = 12u8

Source§

const USIZE: usize = 12usize

Source§

impl ChId for Ch13

Source§

const U8: u8 = 13u8

Source§

const USIZE: usize = 13usize

Source§

impl ChId for Ch14

Source§

const U8: u8 = 14u8

Source§

const USIZE: usize = 14usize

Source§

impl ChId for Ch15

Source§

const U8: u8 = 15u8

Source§

const USIZE: usize = 15usize