Enum stm32_hal2::dma::DmaInput

source ·
#[repr(usize)]
pub enum DmaInput {
Show 81 variants Adc1, Adc2, Tim1Ch1, Tim1Ch2, Tim1Ch3, Tim1Ch4, Tim1Up, Tim1Trig, Tim1Com, Tim2Ch1, Tim2Ch2, Tim2Ch3, Tim2Ch4, Tim2Up, Tim3Ch1, Tim3Ch2, Tim3Ch3, Tim3Ch4, Tim3Up, Tim3Trig, Tim4Ch1, Tim4Ch2, Tim4Ch3, Tim4Up, I2c1Rx, I2c1Tx, I2c2Rx, I2c2Tx, Spi1Rx, Spi1Tx, Spi2Rx, Spi2Tx, Usart1Rx, Usart1Tx, Usart2Rx, Usart2Tx, Usart3Rx, Usart3Tx, Tim5Ch1, Tim5Ch2, Tim5Ch3, Tim5Ch4, Tim5Up, Tim5Trig, Spi3Rx, Spi3Tx, Uart4Rx, Uart4Tx, Uart5Rx, Uart5Tx, DacCh1, DacCh2, Tim6Up, Tim7Up, Uart6Rx, Uart6Tx, I2c3Rx, I2c3Tx, Dcmi, CrypIn, CrypOut, HashIn, Uart7Rx, Uart7Tx, Uart8Rx, Uart8Tx, Sai1A, Sai1B, Sai2A, Sai2B, Dfsdm1F0, Dfsdm1F1, Dfsdm1F2, Dfsdm1F3, Sai3A, Sai3B, Adc3, Uart9Rx, Uart9Tx, Uart10Rx, Uart10Tx,
}
Expand description

A list of DMA input sources. The integer values represent their DMAMUX register value, on MCUs that use this. H743 RM, Table 121: DMAMUX1: Assignment of multiplexer inputs to resources. (Table 118 in RM0468) Note that this is only for DMAMUX1

Variants§

§

Adc1

§

Adc2

§

Tim1Ch1

§

Tim1Ch2

§

Tim1Ch3

§

Tim1Ch4

§

Tim1Up

§

Tim1Trig

§

Tim1Com

§

Tim2Ch1

§

Tim2Ch2

§

Tim2Ch3

§

Tim2Ch4

§

Tim2Up

§

Tim3Ch1

§

Tim3Ch2

§

Tim3Ch3

§

Tim3Ch4

§

Tim3Up

§

Tim3Trig

§

Tim4Ch1

§

Tim4Ch2

§

Tim4Ch3

§

Tim4Up

§

I2c1Rx

§

I2c1Tx

§

I2c2Rx

§

I2c2Tx

§

Spi1Rx

§

Spi1Tx

§

Spi2Rx

§

Spi2Tx

§

Usart1Rx

§

Usart1Tx

§

Usart2Rx

§

Usart2Tx

§

Usart3Rx

§

Usart3Tx

§

Tim5Ch1

§

Tim5Ch2

§

Tim5Ch3

§

Tim5Ch4

§

Tim5Up

§

Tim5Trig

§

Spi3Rx

§

Spi3Tx

§

Uart4Rx

§

Uart4Tx

§

Uart5Rx

§

Uart5Tx

§

DacCh1

§

DacCh2

§

Tim6Up

§

Tim7Up

§

Uart6Rx

§

Uart6Tx

§

I2c3Rx

§

I2c3Tx

§

Dcmi

§

CrypIn

§

CrypOut

§

HashIn

§

Uart7Rx

§

Uart7Tx

§

Uart8Rx

§

Uart8Tx

§

Sai1A

§

Sai1B

§

Sai2A

§

Sai2B

§

Dfsdm1F0

§

Dfsdm1F1

§

Dfsdm1F2

§

Dfsdm1F3

§

Sai3A

§

Sai3B

§

Adc3

§

Uart9Rx

§

Uart9Tx

§

Uart10Rx

§

Uart10Tx

Trait Implementations§

source§

impl Clone for DmaInput

source§

fn clone(&self) -> DmaInput

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
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 Twhere
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 Twhere
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 Twhere
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.