k210_pac::sysctl::dma_sel0

Enum DMA_SEL0_A

Source
#[repr(u8)]
pub enum DMA_SEL0_A {
Show 33 variants SSI0_RX_REQ = 0, SSI0_TX_REQ = 1, SSI1_RX_REQ = 2, SSI1_TX_REQ = 3, SSI2_RX_REQ = 4, SSI2_TX_REQ = 5, SSI3_RX_REQ = 6, SSI3_TX_REQ = 7, I2C0_RX_REQ = 8, I2C0_TX_REQ = 9, I2C1_RX_REQ = 10, I2C1_TX_REQ = 11, I2C2_RX_REQ = 12, I2C2_TX_REQ = 13, UART1_RX_REQ = 14, UART1_TX_REQ = 15, UART2_RX_REQ = 16, UART2_TX_REQ = 17, UART3_RX_REQ = 18, UART3_TX_REQ = 19, AES_REQ = 20, SHA_RX_REQ = 21, AI_RX_REQ = 22, FFT_RX_REQ = 23, FFT_TX_REQ = 24, I2S0_TX_REQ = 25, I2S0_RX_REQ = 26, I2S1_TX_REQ = 27, I2S1_RX_REQ = 28, I2S2_TX_REQ = 29, I2S2_RX_REQ = 30, I2S0_BF_DIR_REQ = 31, I2S0_BF_VOICE_REQ = 32,
}
Expand description

Value on reset: 0

Variants§

§

SSI0_RX_REQ = 0

0: 0

§

SSI0_TX_REQ = 1

1: 1

§

SSI1_RX_REQ = 2

2: 10

§

SSI1_TX_REQ = 3

3: 11

§

SSI2_RX_REQ = 4

4: 100

§

SSI2_TX_REQ = 5

5: 101

§

SSI3_RX_REQ = 6

6: 110

§

SSI3_TX_REQ = 7

7: 111

§

I2C0_RX_REQ = 8

8: 1000

§

I2C0_TX_REQ = 9

9: 1001

§

I2C1_RX_REQ = 10

10: 1010

§

I2C1_TX_REQ = 11

11: 1011

§

I2C2_RX_REQ = 12

12: 1100

§

I2C2_TX_REQ = 13

13: 1101

§

UART1_RX_REQ = 14

14: 1110

§

UART1_TX_REQ = 15

15: 1111

§

UART2_RX_REQ = 16

16: 10000

§

UART2_TX_REQ = 17

17: 10001

§

UART3_RX_REQ = 18

18: 10010

§

UART3_TX_REQ = 19

19: 10011

§

AES_REQ = 20

20: 10100

§

SHA_RX_REQ = 21

21: 10101

§

AI_RX_REQ = 22

22: 10110

§

FFT_RX_REQ = 23

23: 10111

§

FFT_TX_REQ = 24

24: 11000

§

I2S0_TX_REQ = 25

25: 11001

§

I2S0_RX_REQ = 26

26: 11010

§

I2S1_TX_REQ = 27

27: 11011

§

I2S1_RX_REQ = 28

28: 11100

§

I2S2_TX_REQ = 29

29: 11101

§

I2S2_RX_REQ = 30

30: 11110

§

I2S0_BF_DIR_REQ = 31

31: 11111

§

I2S0_BF_VOICE_REQ = 32

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 for DMA_SEL0_A

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for DMA_SEL0_A

Source§

impl StructuralPartialEq for DMA_SEL0_A

Auto Trait Implementations§

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,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
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>,

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.