Enum DmaInput

Source
#[repr(usize)]
pub enum DmaInput {
Show 75 variants Adc1 = 5, Dac1Ch1 = 6, Dac1Ch2 = 7, Tim6Up = 8, Tim7Up = 9, Spi1Rx = 10, Spi1Tx = 11, Spi2Rx = 12, Spi2Tx = 13, Spi3Rx = 14, Spi3Tx = 15, I2c1Rx = 16, I2c1Tx = 17, I2c2Rx = 18, I2c2Tx = 19, I2c3Rx = 20, I2c3Tx = 21, I2c4Rx = 22, I2c4Tx = 23, Usart1Rx = 24, Usart1Tx = 25, Usart2Rx = 26, Usart2Tx = 27, Usart3Rx = 28, Usart3Tx = 29, Uart4Rx = 30, Uart4Tx = 31, Uart5Rx = 32, Uart5Tx = 33, Lpuart1Rx = 34, Lpuart1Tx = 35, Adc2 = 36, Adc3 = 37, Adc4 = 38, Adc5 = 39, Quadspi = 40, Dac2Ch1 = 41, Tim1Ch1 = 42, Tim1Ch2 = 43, Tim1Ch3 = 44, Tim1Ch4 = 45, TimUp = 46, Tim1Trig = 47, Tim1Com = 48, Tim8Ch1 = 49, Tim8Ch2 = 50, Tim8Ch3 = 51, Tim8Ch4 = 52, Tim8Up = 53, Tim8Trig = 54, Tim8Com = 55, Tim2Ch1 = 56, Tim2Ch2 = 57, Tim2Ch3 = 58, Tim2Ch4 = 59, Tim2Up = 60, Tim3Ch1 = 61, Tim3Ch2 = 62, Tim3Ch3 = 63, Tim3Ch4 = 64, Tim3Up = 65, Tim3Trig = 66, Tim4Ch1 = 67, Tim4Ch2 = 68, Tim4Ch3 = 69, Tim4Ch4 = 70, Tim4Up = 71, Sai1A = 108, Sai1B = 109, Sai2A = 203, Sai2B = 204, Dfsdm1F0 = 200, Dfsdm1F1 = 201, Dfsdm1F2 = 205, Dfsdm1F3 = 206,
}
Expand description

A list of DMA input sources. The integer values represent their DMAMUX register value, on MCUs that use this. G4 RM, Table 91: DMAMUX: Assignment of multiplexer inputs to resources.

Variants§

§

Adc1 = 5

§

Dac1Ch1 = 6

§

Dac1Ch2 = 7

§

Tim6Up = 8

§

Tim7Up = 9

§

Spi1Rx = 10

§

Spi1Tx = 11

§

Spi2Rx = 12

§

Spi2Tx = 13

§

Spi3Rx = 14

§

Spi3Tx = 15

§

I2c1Rx = 16

§

I2c1Tx = 17

§

I2c2Rx = 18

§

I2c2Tx = 19

§

I2c3Rx = 20

§

I2c3Tx = 21

§

I2c4Rx = 22

§

I2c4Tx = 23

§

Usart1Rx = 24

§

Usart1Tx = 25

§

Usart2Rx = 26

§

Usart2Tx = 27

§

Usart3Rx = 28

§

Usart3Tx = 29

§

Uart4Rx = 30

§

Uart4Tx = 31

§

Uart5Rx = 32

§

Uart5Tx = 33

§

Lpuart1Rx = 34

§

Lpuart1Tx = 35

§

Adc2 = 36

§

Adc3 = 37

§

Adc4 = 38

§

Adc5 = 39

§

Quadspi = 40

§

Dac2Ch1 = 41

§

Tim1Ch1 = 42

§

Tim1Ch2 = 43

§

Tim1Ch3 = 44

§

Tim1Ch4 = 45

§

TimUp = 46

§

Tim1Trig = 47

§

Tim1Com = 48

§

Tim8Ch1 = 49

§

Tim8Ch2 = 50

§

Tim8Ch3 = 51

§

Tim8Ch4 = 52

§

Tim8Up = 53

§

Tim8Trig = 54

§

Tim8Com = 55

§

Tim2Ch1 = 56

§

Tim2Ch2 = 57

§

Tim2Ch3 = 58

§

Tim2Ch4 = 59

§

Tim2Up = 60

§

Tim3Ch1 = 61

§

Tim3Ch2 = 62

§

Tim3Ch3 = 63

§

Tim3Ch4 = 64

§

Tim3Up = 65

§

Tim3Trig = 66

§

Tim4Ch1 = 67

§

Tim4Ch2 = 68

§

Tim4Ch3 = 69

§

Tim4Ch4 = 70

§

Tim4Up = 71

§

Sai1A = 108

§

Sai1B = 109

§

Sai2A = 203

§

Sai2B = 204

§

Dfsdm1F0 = 200

§

Dfsdm1F1 = 201

§

Dfsdm1F2 = 205

§

Dfsdm1F3 = 206

Trait Implementations§

Source§

impl Clone for DmaInput

Source§

fn clone(&self) -> DmaInput

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 Copy for DmaInput

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.