Request

Enum Request 

Source
#[repr(u8)]
pub enum Request {
Show 26 variants Memtomem = 0, Spi1rx = 1, Uart0rx = 4, Uart1rx = 5, I2c0rx = 7, I2c1rx = 8, Adc = 9, I2c2rx = 10, Uart2rx = 14, Spi0rx = 15, Aesrx = 16, Uart3rx = 28, I2srx = 30, Spi1tx = 33, Uart0tx = 36, Uart1tx = 37, I2c0tx = 39, I2c1tx = 40, I2c2tx = 42, Crctx = 44, Pciftx = 45, Uart2tx = 46, Spi0tx = 47, Aestx = 48, Uart3tx = 60, I2stx = 62,
}
Expand description

Request Select. Select DMA request line for this channel. If memory-to-memory is selected, the channel operates as if the request is always active.

Value on reset: 0

Variants§

§

Memtomem = 0

0: Memory To Memory

§

Spi1rx = 1

1: SPI1 RX

§

Uart0rx = 4

4: UART0 RX

§

Uart1rx = 5

5: UART1 RX

§

I2c0rx = 7

7: I2C0 RX

§

I2c1rx = 8

8: I2C1 RX

§

Adc = 9

9: ADC

§

I2c2rx = 10

10: I2C2 RX

§

Uart2rx = 14

14: UART2 RX

§

Spi0rx = 15

15: SPI0 RX

§

Aesrx = 16

16: AES RX

§

Uart3rx = 28

28: UART3 RX

§

I2srx = 30

30: I2S RX

§

Spi1tx = 33

33: SPI1 TX

§

Uart0tx = 36

36: UART0 TX

§

Uart1tx = 37

37: UART1 TX

§

I2c0tx = 39

39: I2C0 TX

§

I2c1tx = 40

40: I2C1 TX

§

I2c2tx = 42

42: I2C2 TX

§

Crctx = 44

44: CRC TX

§

Pciftx = 45

45: PCIF TX

§

Uart2tx = 46

46: UART2 TX

§

Spi0tx = 47

47: SPI0 TX

§

Aestx = 48

48: AES TX

§

Uart3tx = 60

60: UART3 TX

§

I2stx = 62

62: I2S TX

Trait Implementations§

Source§

impl Clone for Request

Source§

fn clone(&self) -> Request

Returns a duplicate 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 Request

Source§

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

Formats the value using the given formatter. Read more
Source§

impl FieldSpec for Request

Source§

type Ux = u8

Raw field type (u8, u16, u32, …).
Source§

impl From<Request> for u8

Source§

fn from(variant: Request) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Request

Source§

fn eq(&self, other: &Request) -> 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 Request

Source§

impl Eq for Request

Source§

impl IsEnum for Request

Source§

impl StructuralPartialEq for Request

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.