Enum stm32_hal2::dma::DmaInput [−][src]
#[repr(u8)] pub enum DmaInput {}Show variants
Adc1, Dac1Ch1, Dac1Ch2, Tim6Up, Tim7Up, Spi1Rx, Spi1Tx, Spi2Rx, Spi2Tx, Spi3Rx, Spi3Tx, I2c1Rx, I2c1Tx, I2c2Rx, I2c2Tx, I2c3Rx, I2c3Tx, I2c4Rx, I2c4Tx, Usart1Rx, Usart1Tx, Usart2Rx, Usart2Tx, Usart3Rx, Usart3Tx, Uart4Rx, Uart4Tx, Uart5Rx, Uart5Tx, Lpuart1Rx, Lpuart1Tx, Adc2, Adc3, Adc4, Adc5,
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
Implementations
impl DmaInput
[src]
impl DmaInput
[src]pub fn dma1_channel(&self) -> DmaChannel
[src]
pub fn dma1_channel(&self) -> DmaChannel
[src]Select the hard set channel associated with a given input source. See L44 RM, Table 41.
pub fn dma1_channel_select(&self) -> u8
[src]
pub fn dma1_channel_select(&self) -> u8
[src]Find the channel select value for a given DMA input. See L44 RM, Table 41.