#[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§
Auto Trait Implementations§
impl Freeze for DmaInput
impl RefUnwindSafe for DmaInput
impl Send for DmaInput
impl Sync for DmaInput
impl Unpin for DmaInput
impl UnwindSafe for DmaInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more