# DMA_SEL0_A in k210_pac::sysctl::dma_sel0 - Rust
Value on reset: 0
Keywords: rust, rustlang, rust-lang, DMA_SEL0_A

# Enum k210_pac::sysctl::dma_sel0::DMA_SEL0_A

source · [−]

    #[repr(u8)]
    pub enum DMA_SEL0_A {
    Show 33 variants    SSI0_RX_REQ,
        SSI0_TX_REQ,
        SSI1_RX_REQ,
        SSI1_TX_REQ,
        SSI2_RX_REQ,
        SSI2_TX_REQ,
        SSI3_RX_REQ,
        SSI3_TX_REQ,
        I2C0_RX_REQ,
        I2C0_TX_REQ,
        I2C1_RX_REQ,
        I2C1_TX_REQ,
        I2C2_RX_REQ,
        I2C2_TX_REQ,
        UART1_RX_REQ,
        UART1_TX_REQ,
        UART2_RX_REQ,
        UART2_TX_REQ,
        UART3_RX_REQ,
        UART3_TX_REQ,
        AES_REQ,
        SHA_RX_REQ,
        AI_RX_REQ,
        FFT_RX_REQ,
        FFT_TX_REQ,
        I2S0_TX_REQ,
        I2S0_RX_REQ,
        I2S1_TX_REQ,
        I2S1_RX_REQ,
        I2S2_TX_REQ,
        I2S2_RX_REQ,
        I2S0_BF_DIR_REQ,
        I2S0_BF_VOICE_REQ,
    }

Expand description

Value on reset: 0

## Variants

### `SSI0_RX_REQ`

0: `0`

### `SSI0_TX_REQ`

1: `1`

### `SSI1_RX_REQ`

2: `10`

### `SSI1_TX_REQ`

3: `11`

### `SSI2_RX_REQ`

4: `100`

### `SSI2_TX_REQ`

5: `101`

### `SSI3_RX_REQ`

6: `110`

### `SSI3_TX_REQ`

7: `111`

### `I2C0_RX_REQ`

8: `1000`

### `I2C0_TX_REQ`

9: `1001`

### `I2C1_RX_REQ`

10: `1010`

### `I2C1_TX_REQ`

11: `1011`

### `I2C2_RX_REQ`

12: `1100`

### `I2C2_TX_REQ`

13: `1101`

### `UART1_RX_REQ`

14: `1110`

### `UART1_TX_REQ`

15: `1111`

### `UART2_RX_REQ`

16: `10000`

### `UART2_TX_REQ`

17: `10001`

### `UART3_RX_REQ`

18: `10010`

### `UART3_TX_REQ`

19: `10011`

### `AES_REQ`

20: `10100`

### `SHA_RX_REQ`

21: `10101`

### `AI_RX_REQ`

22: `10110`

### `FFT_RX_REQ`

23: `10111`

### `FFT_TX_REQ`

24: `11000`

### `I2S0_TX_REQ`

25: `11001`

### `I2S0_RX_REQ`

26: `11010`

### `I2S1_TX_REQ`

27: `11011`

### `I2S1_RX_REQ`

28: `11100`

### `I2S2_TX_REQ`

29: `11101`

### `I2S2_RX_REQ`

30: `11110`

### `I2S0_BF_DIR_REQ`

31: `11111`

### `I2S0_BF_VOICE_REQ`

32: `100000`

## Trait Implementations

source

### impl Clone for DMA_SEL0_A

source

#### fn clone(&self) -> DMA_SEL0_A

Returns a copy of the value. Read more

1.0.0 · source

#### fn clone_from(&mut self, source: &Self)

Performs copy-assignment from `source`. Read more

source

### impl Debug for DMA_SEL0_A

source

#### fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

source

### impl From<DMA_SEL0_A> for u8

source

#### fn from(variant: DMA_SEL0_A) -> Self

Converts to this type from the input type.

source

### impl PartialEq<DMA_SEL0_A> for DMA_SEL0_A

source

#### fn eq(&self, other: &DMA_SEL0_A) -> bool

This method tests for `self` and `other` values to be equal, and is used by `==`. Read more

1.0.0 · source

#### fn ne(&self, other: &Rhs) -> bool

This method tests for `!=`.

source

### impl Copy for DMA_SEL0_A

source

### impl StructuralPartialEq for DMA_SEL0_A

## Auto Trait Implementations

### impl RefUnwindSafe for DMA_SEL0_A

### impl Send for DMA_SEL0_A

### impl Sync for DMA_SEL0_A

### impl Unpin for DMA_SEL0_A

### impl UnwindSafe for DMA_SEL0_A

## Blanket Implementations

source

### impl<T> Any for T where
T: 'static + ?Sized,

source

#### fn type_id(&self) -> TypeId

Gets the `TypeId` of `self`. Read more

source

### impl<T> Borrow<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

source

### impl<T> BorrowMut<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more

source

### impl<T> From<T> for T

const: unstable · source

#### fn from(t: T) -> T

Returns the argument unchanged.

source

### impl<T, U> Into<U> for T where
U: From<T>,

const: unstable · source

#### fn into(self) -> U

Calls `U::from(self)`.

That is, this conversion is whatever the implementation of `From<T> for U` chooses to do.

source

### impl<T, U> TryFrom<U> for T where
U: Into<T>,

#### type Error = Infallible

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

source

### impl<T, U> TryInto<U> for T where
U: TryFrom<T>,

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.