Struct stm32f4xx_hal::dma::StreamX
source · [−]pub struct StreamX<DMA, const S: u8> { /* private fields */ }
Expand description
Stream on the DMA controller.
Trait Implementations
sourceimpl<I: Instance, const S: u8> Stream for StreamX<I, S> where
Self: Sealed + StreamISR,
impl<I: Instance, const S: u8> Stream for StreamX<I, S> where
Self: Sealed + StreamISR,
sourcefn set_peripheral_address(&mut self, value: u32)
fn set_peripheral_address(&mut self, value: u32)
Set the peripheral address (par) for the DMA stream.
sourcefn set_memory_address(&mut self, value: u32)
fn set_memory_address(&mut self, value: u32)
Set the memory address (m0ar) for the DMA stream.
sourcefn get_memory_address(&self) -> u32
fn get_memory_address(&self) -> u32
Get the memory address (m0ar) for the DMA stream.
sourcefn set_memory_double_buffer_address(&mut self, value: u32)
fn set_memory_double_buffer_address(&mut self, value: u32)
Set the double buffer address (m1ar) for the DMA stream.
sourcefn get_memory_double_buffer_address(&self) -> u32
fn get_memory_double_buffer_address(&self) -> u32
Get the double buffer address (m1ar) for the DMA stream.
sourcefn set_number_of_transfers(&mut self, value: u16)
fn set_number_of_transfers(&mut self, value: u16)
Set the number of transfers (ndt) for the DMA stream.
sourcefn get_number_of_transfers() -> u16
fn get_number_of_transfers() -> u16
Get the number of transfers (ndt) for the DMA stream.
sourcefn is_enabled() -> bool
fn is_enabled() -> bool
Returns the state of the DMA stream.
sourcefn set_channel<const C: u8>(&mut self) where
ChannelX<C>: Channel,
fn set_channel<const C: u8>(&mut self) where
ChannelX<C>: Channel,
Set the channel for the (chsel) the DMA stream.
sourcefn set_priority(&mut self, priority: Priority)
fn set_priority(&mut self, priority: Priority)
Set the priority (pl) the DMA stream.
sourceunsafe fn set_memory_size(&mut self, size: u8)
unsafe fn set_memory_size(&mut self, size: u8)
Set the memory size (msize) for the DMA stream. Read more
sourceunsafe fn set_peripheral_size(&mut self, size: u8)
unsafe fn set_peripheral_size(&mut self, size: u8)
Set the peripheral memory size (psize) for the DMA stream. Read more
sourcefn set_memory_increment(&mut self, increment: bool)
fn set_memory_increment(&mut self, increment: bool)
Enable/disable memory increment (minc) for the DMA stream.
sourcefn set_peripheral_increment(&mut self, increment: bool)
fn set_peripheral_increment(&mut self, increment: bool)
Enable/disable peripheral increment (pinc) for the DMA stream.
sourcefn set_direction<D: Direction>(&mut self, direction: D)
fn set_direction<D: Direction>(&mut self, direction: D)
Set the direction (dir) of the DMA stream.
sourcefn set_interrupts_enable(
&mut self,
transfer_complete: bool,
half_transfer: bool,
transfer_error: bool,
direct_mode_error: bool
)
fn set_interrupts_enable(
&mut self,
transfer_complete: bool,
half_transfer: bool,
transfer_error: bool,
direct_mode_error: bool
)
Convenience method to configure the 4 common interrupts for the DMA stream.
sourcefn get_interrupts_enable() -> (bool, bool, bool, bool)
fn get_interrupts_enable() -> (bool, bool, bool, bool)
Convenience method to get the value of the 4 common interrupts for the DMA stream.
The order of the returns are: transfer_complete
, half_transfer
, transfer_error
and
direct_mode_error
. Read more
sourcefn set_transfer_complete_interrupt_enable(
&mut self,
transfer_complete_interrupt: bool
)
fn set_transfer_complete_interrupt_enable(
&mut self,
transfer_complete_interrupt: bool
)
Enable/disable the transfer complete interrupt (tcie) of the DMA stream.
sourcefn set_half_transfer_interrupt_enable(&mut self, half_transfer_interrupt: bool)
fn set_half_transfer_interrupt_enable(&mut self, half_transfer_interrupt: bool)
Enable/disable the half transfer interrupt (htie) of the DMA stream.
sourcefn set_transfer_error_interrupt_enable(
&mut self,
transfer_error_interrupt: bool
)
fn set_transfer_error_interrupt_enable(
&mut self,
transfer_error_interrupt: bool
)
Enable/disable the transfer error interrupt (teie) of the DMA stream.
sourcefn set_direct_mode_error_interrupt_enable(
&mut self,
direct_mode_error_interrupt: bool
)
fn set_direct_mode_error_interrupt_enable(
&mut self,
direct_mode_error_interrupt: bool
)
Enable/disable the direct mode error interrupt (dmeie) of the DMA stream.
sourcefn set_fifo_error_interrupt_enable(&mut self, fifo_error_interrupt: bool)
fn set_fifo_error_interrupt_enable(&mut self, fifo_error_interrupt: bool)
Enable/disable the fifo error interrupt (feie) of the DMA stream.
sourcefn set_double_buffer(&mut self, double_buffer: bool)
fn set_double_buffer(&mut self, double_buffer: bool)
Enable/disable the double buffer (dbm) of the DMA stream.
sourcefn set_fifo_threshold(&mut self, fifo_threshold: FifoThreshold)
fn set_fifo_threshold(&mut self, fifo_threshold: FifoThreshold)
Set the fifo threshold (fcr.fth) of the DMA stream.
sourcefn set_fifo_enable(&mut self, fifo_enable: bool)
fn set_fifo_enable(&mut self, fifo_enable: bool)
Enable/disable the fifo (dmdis) of the DMA stream.
sourcefn set_memory_burst(&mut self, memory_burst: BurstMode)
fn set_memory_burst(&mut self, memory_burst: BurstMode)
Set memory burst mode (mburst) of the DMA stream.
sourcefn set_peripheral_burst(&mut self, peripheral_burst: BurstMode)
fn set_peripheral_burst(&mut self, peripheral_burst: BurstMode)
Set peripheral burst mode (pburst) of the DMA stream.
sourcefn fifo_level() -> FifoLevel
fn fifo_level() -> FifoLevel
Get the current fifo level (fs) of the DMA stream.
sourcefn current_buffer() -> CurrentBuffer
fn current_buffer() -> CurrentBuffer
Get which buffer is currently in use by the DMA.
sourceimpl<I: Instance> StreamISR for StreamX<I, 0> where
Self: Sealed,
impl<I: Instance> StreamISR for StreamX<I, 0> where
Self: Sealed,
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag
sourceimpl<I: Instance> StreamISR for StreamX<I, 1> where
Self: Sealed,
impl<I: Instance> StreamISR for StreamX<I, 1> where
Self: Sealed,
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag
sourceimpl<I: Instance> StreamISR for StreamX<I, 2> where
Self: Sealed,
impl<I: Instance> StreamISR for StreamX<I, 2> where
Self: Sealed,
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag
sourceimpl<I: Instance> StreamISR for StreamX<I, 3> where
Self: Sealed,
impl<I: Instance> StreamISR for StreamX<I, 3> where
Self: Sealed,
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag
sourceimpl<I: Instance> StreamISR for StreamX<I, 4> where
Self: Sealed,
impl<I: Instance> StreamISR for StreamX<I, 4> where
Self: Sealed,
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag
sourceimpl<I: Instance> StreamISR for StreamX<I, 5> where
Self: Sealed,
impl<I: Instance> StreamISR for StreamX<I, 5> where
Self: Sealed,
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag
sourceimpl<I: Instance> StreamISR for StreamX<I, 6> where
Self: Sealed,
impl<I: Instance> StreamISR for StreamX<I, 6> where
Self: Sealed,
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag
sourceimpl<I: Instance> StreamISR for StreamX<I, 7> where
Self: Sealed,
impl<I: Instance> StreamISR for StreamX<I, 7> where
Self: Sealed,
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag
impl DMASet<StreamX<DMA1, 0_u8>, 0_u8, PeripheralToMemory> for SPI3
impl DMASet<StreamX<DMA1, 0_u8>, 0_u8, PeripheralToMemory> for Rx<SPI3>
impl DMASet<StreamX<DMA1, 0_u8>, 1_u8, PeripheralToMemory> for I2C1
impl DMASet<StreamX<DMA1, 0_u8>, 2_u8, MemoryToPeripheral> for CCR1<TIM4>
impl DMASet<StreamX<DMA1, 0_u8>, 2_u8, PeripheralToMemory> for CCR1<TIM4>
impl DMASet<StreamX<DMA1, 0_u8>, 4_u8, PeripheralToMemory> for UART5
impl DMASet<StreamX<DMA1, 0_u8>, 5_u8, MemoryToPeripheral> for UART8
impl DMASet<StreamX<DMA1, 0_u8>, 6_u8, MemoryToPeripheral> for CCR3<TIM5>
impl DMASet<StreamX<DMA1, 0_u8>, 6_u8, MemoryToPeripheral> for DMAR<TIM5>
impl DMASet<StreamX<DMA1, 0_u8>, 6_u8, PeripheralToMemory> for CCR3<TIM5>
impl DMASet<StreamX<DMA1, 0_u8>, 6_u8, PeripheralToMemory> for DMAR<TIM5>
impl DMASet<StreamX<DMA1, 1_u8>, 3_u8, MemoryToPeripheral> for DMAR<TIM2>
impl DMASet<StreamX<DMA1, 1_u8>, 3_u8, MemoryToPeripheral> for CCR3<TIM2>
impl DMASet<StreamX<DMA1, 1_u8>, 3_u8, PeripheralToMemory> for DMAR<TIM2>
impl DMASet<StreamX<DMA1, 1_u8>, 3_u8, PeripheralToMemory> for CCR3<TIM2>
impl DMASet<StreamX<DMA1, 1_u8>, 4_u8, PeripheralToMemory> for USART3
impl DMASet<StreamX<DMA1, 1_u8>, 4_u8, PeripheralToMemory> for Rx<USART3>
impl DMASet<StreamX<DMA1, 1_u8>, 5_u8, MemoryToPeripheral> for UART7
impl DMASet<StreamX<DMA1, 1_u8>, 6_u8, MemoryToPeripheral> for CCR4<TIM5>
impl DMASet<StreamX<DMA1, 1_u8>, 6_u8, MemoryToPeripheral> for DMAR<TIM5>
impl DMASet<StreamX<DMA1, 1_u8>, 6_u8, PeripheralToMemory> for CCR4<TIM5>
impl DMASet<StreamX<DMA1, 1_u8>, 6_u8, PeripheralToMemory> for DMAR<TIM5>
impl DMASet<StreamX<DMA1, 2_u8>, 0_u8, PeripheralToMemory> for SPI3
impl DMASet<StreamX<DMA1, 2_u8>, 0_u8, PeripheralToMemory> for Rx<SPI3>
impl DMASet<StreamX<DMA1, 2_u8>, 3_u8, PeripheralToMemory> for I2C3
impl DMASet<StreamX<DMA1, 2_u8>, 4_u8, PeripheralToMemory> for UART4
impl DMASet<StreamX<DMA1, 2_u8>, 5_u8, MemoryToPeripheral> for CCR4<TIM3>
impl DMASet<StreamX<DMA1, 2_u8>, 5_u8, MemoryToPeripheral> for DMAR<TIM3>
impl DMASet<StreamX<DMA1, 2_u8>, 5_u8, PeripheralToMemory> for CCR4<TIM3>
impl DMASet<StreamX<DMA1, 2_u8>, 5_u8, PeripheralToMemory> for DMAR<TIM3>
impl DMASet<StreamX<DMA1, 2_u8>, 6_u8, MemoryToPeripheral> for CCR1<TIM5>
impl DMASet<StreamX<DMA1, 2_u8>, 6_u8, PeripheralToMemory> for CCR1<TIM5>
impl DMASet<StreamX<DMA1, 2_u8>, 7_u8, PeripheralToMemory> for I2C2
impl DMASet<StreamX<DMA1, 3_u8>, 0_u8, PeripheralToMemory> for SPI2
impl DMASet<StreamX<DMA1, 3_u8>, 0_u8, PeripheralToMemory> for Rx<SPI2>
impl DMASet<StreamX<DMA1, 3_u8>, 2_u8, MemoryToPeripheral> for CCR2<TIM4>
impl DMASet<StreamX<DMA1, 3_u8>, 2_u8, PeripheralToMemory> for CCR2<TIM4>
impl DMASet<StreamX<DMA1, 3_u8>, 4_u8, MemoryToPeripheral> for USART3
impl DMASet<StreamX<DMA1, 3_u8>, 4_u8, MemoryToPeripheral> for Tx<USART3>
impl DMASet<StreamX<DMA1, 3_u8>, 5_u8, PeripheralToMemory> for UART7
impl DMASet<StreamX<DMA1, 3_u8>, 6_u8, MemoryToPeripheral> for CCR4<TIM5>
impl DMASet<StreamX<DMA1, 3_u8>, 6_u8, MemoryToPeripheral> for DMAR<TIM5>
impl DMASet<StreamX<DMA1, 3_u8>, 6_u8, PeripheralToMemory> for CCR4<TIM5>
impl DMASet<StreamX<DMA1, 3_u8>, 6_u8, PeripheralToMemory> for DMAR<TIM5>
impl DMASet<StreamX<DMA1, 3_u8>, 7_u8, PeripheralToMemory> for I2C2
impl DMASet<StreamX<DMA1, 4_u8>, 0_u8, MemoryToPeripheral> for SPI2
impl DMASet<StreamX<DMA1, 4_u8>, 0_u8, MemoryToPeripheral> for Tx<SPI2>
impl DMASet<StreamX<DMA1, 4_u8>, 3_u8, MemoryToPeripheral> for I2C3
impl DMASet<StreamX<DMA1, 4_u8>, 4_u8, MemoryToPeripheral> for UART4
impl DMASet<StreamX<DMA1, 4_u8>, 5_u8, MemoryToPeripheral> for CCR1<TIM3>
impl DMASet<StreamX<DMA1, 4_u8>, 5_u8, MemoryToPeripheral> for DMAR<TIM3>
impl DMASet<StreamX<DMA1, 4_u8>, 5_u8, PeripheralToMemory> for CCR1<TIM3>
impl DMASet<StreamX<DMA1, 4_u8>, 5_u8, PeripheralToMemory> for DMAR<TIM3>
impl DMASet<StreamX<DMA1, 4_u8>, 6_u8, MemoryToPeripheral> for CCR2<TIM5>
impl DMASet<StreamX<DMA1, 4_u8>, 6_u8, PeripheralToMemory> for CCR2<TIM5>
impl DMASet<StreamX<DMA1, 4_u8>, 7_u8, MemoryToPeripheral> for USART3
impl DMASet<StreamX<DMA1, 4_u8>, 7_u8, MemoryToPeripheral> for Tx<USART3>
impl DMASet<StreamX<DMA1, 5_u8>, 0_u8, MemoryToPeripheral> for SPI3
impl DMASet<StreamX<DMA1, 5_u8>, 0_u8, MemoryToPeripheral> for Tx<SPI3>
impl DMASet<StreamX<DMA1, 5_u8>, 1_u8, PeripheralToMemory> for I2C1
impl DMASet<StreamX<DMA1, 5_u8>, 3_u8, MemoryToPeripheral> for CCR1<TIM2>
impl DMASet<StreamX<DMA1, 5_u8>, 3_u8, PeripheralToMemory> for CCR1<TIM2>
impl DMASet<StreamX<DMA1, 5_u8>, 4_u8, PeripheralToMemory> for USART2
impl DMASet<StreamX<DMA1, 5_u8>, 4_u8, PeripheralToMemory> for Rx<USART2>
impl DMASet<StreamX<DMA1, 5_u8>, 5_u8, MemoryToPeripheral> for CCR2<TIM3>
impl DMASet<StreamX<DMA1, 5_u8>, 5_u8, PeripheralToMemory> for CCR2<TIM3>
impl DMASet<StreamX<DMA1, 6_u8>, 1_u8, MemoryToPeripheral> for I2C1
impl DMASet<StreamX<DMA1, 6_u8>, 2_u8, MemoryToPeripheral> for DMAR<TIM4>
impl DMASet<StreamX<DMA1, 6_u8>, 2_u8, PeripheralToMemory> for DMAR<TIM4>
impl DMASet<StreamX<DMA1, 6_u8>, 3_u8, MemoryToPeripheral> for CCR2<TIM2>
impl DMASet<StreamX<DMA1, 6_u8>, 3_u8, MemoryToPeripheral> for CCR4<TIM2>
impl DMASet<StreamX<DMA1, 6_u8>, 3_u8, PeripheralToMemory> for CCR2<TIM2>
impl DMASet<StreamX<DMA1, 6_u8>, 3_u8, PeripheralToMemory> for CCR4<TIM2>
impl DMASet<StreamX<DMA1, 6_u8>, 4_u8, MemoryToPeripheral> for USART2
impl DMASet<StreamX<DMA1, 6_u8>, 4_u8, MemoryToPeripheral> for Tx<USART2>
impl DMASet<StreamX<DMA1, 6_u8>, 5_u8, PeripheralToMemory> for UART8
impl DMASet<StreamX<DMA1, 6_u8>, 6_u8, MemoryToPeripheral> for DMAR<TIM5>
impl DMASet<StreamX<DMA1, 6_u8>, 6_u8, PeripheralToMemory> for DMAR<TIM5>
impl DMASet<StreamX<DMA1, 7_u8>, 0_u8, MemoryToPeripheral> for SPI3
impl DMASet<StreamX<DMA1, 7_u8>, 0_u8, MemoryToPeripheral> for Tx<SPI3>
impl DMASet<StreamX<DMA1, 7_u8>, 1_u8, MemoryToPeripheral> for I2C1
impl DMASet<StreamX<DMA1, 7_u8>, 2_u8, MemoryToPeripheral> for CCR3<TIM4>
impl DMASet<StreamX<DMA1, 7_u8>, 2_u8, PeripheralToMemory> for CCR3<TIM4>
impl DMASet<StreamX<DMA1, 7_u8>, 3_u8, MemoryToPeripheral> for DMAR<TIM2>
impl DMASet<StreamX<DMA1, 7_u8>, 3_u8, MemoryToPeripheral> for CCR4<TIM2>
impl DMASet<StreamX<DMA1, 7_u8>, 3_u8, PeripheralToMemory> for DMAR<TIM2>
impl DMASet<StreamX<DMA1, 7_u8>, 3_u8, PeripheralToMemory> for CCR4<TIM2>
impl DMASet<StreamX<DMA1, 7_u8>, 4_u8, MemoryToPeripheral> for UART5
impl DMASet<StreamX<DMA1, 7_u8>, 5_u8, MemoryToPeripheral> for CCR3<TIM3>
impl DMASet<StreamX<DMA1, 7_u8>, 5_u8, PeripheralToMemory> for CCR3<TIM3>
impl DMASet<StreamX<DMA1, 7_u8>, 7_u8, MemoryToPeripheral> for I2C2
impl DMASet<StreamX<DMA2, 0_u8>, 0_u8, MemoryToMemory<u16>> for MemoryToMemory<u16>
impl DMASet<StreamX<DMA2, 0_u8>, 0_u8, MemoryToMemory<u32>> for MemoryToMemory<u32>
impl DMASet<StreamX<DMA2, 0_u8>, 0_u8, MemoryToMemory<u8>> for MemoryToMemory<u8>
impl DMASet<StreamX<DMA2, 0_u8>, 0_u8, PeripheralToMemory> for ADC1
impl DMASet<StreamX<DMA2, 0_u8>, 0_u8, PeripheralToMemory> for Adc<ADC1>
impl DMASet<StreamX<DMA2, 0_u8>, 2_u8, PeripheralToMemory> for ADC3
impl DMASet<StreamX<DMA2, 0_u8>, 2_u8, PeripheralToMemory> for Adc<ADC3>
impl DMASet<StreamX<DMA2, 0_u8>, 3_u8, PeripheralToMemory> for SPI1
impl DMASet<StreamX<DMA2, 0_u8>, 3_u8, PeripheralToMemory> for Rx<SPI1>
impl DMASet<StreamX<DMA2, 0_u8>, 4_u8, PeripheralToMemory> for SPI4
impl DMASet<StreamX<DMA2, 0_u8>, 4_u8, PeripheralToMemory> for Rx<SPI4>
impl DMASet<StreamX<DMA2, 0_u8>, 6_u8, MemoryToPeripheral> for DMAR<TIM1>
impl DMASet<StreamX<DMA2, 0_u8>, 6_u8, PeripheralToMemory> for DMAR<TIM1>
impl DMASet<StreamX<DMA2, 1_u8>, 0_u8, MemoryToMemory<u16>> for MemoryToMemory<u16>
impl DMASet<StreamX<DMA2, 1_u8>, 0_u8, MemoryToMemory<u32>> for MemoryToMemory<u32>
impl DMASet<StreamX<DMA2, 1_u8>, 0_u8, MemoryToMemory<u8>> for MemoryToMemory<u8>
impl DMASet<StreamX<DMA2, 1_u8>, 1_u8, PeripheralToMemory> for DCMI
impl DMASet<StreamX<DMA2, 1_u8>, 2_u8, PeripheralToMemory> for ADC3
impl DMASet<StreamX<DMA2, 1_u8>, 2_u8, PeripheralToMemory> for Adc<ADC3>
impl DMASet<StreamX<DMA2, 1_u8>, 4_u8, MemoryToPeripheral> for SPI4
impl DMASet<StreamX<DMA2, 1_u8>, 4_u8, MemoryToPeripheral> for Tx<SPI4>
impl DMASet<StreamX<DMA2, 1_u8>, 5_u8, PeripheralToMemory> for USART6
impl DMASet<StreamX<DMA2, 1_u8>, 5_u8, PeripheralToMemory> for Rx<USART6>
impl DMASet<StreamX<DMA2, 1_u8>, 6_u8, MemoryToPeripheral> for CCR1<TIM1>
impl DMASet<StreamX<DMA2, 1_u8>, 6_u8, PeripheralToMemory> for CCR1<TIM1>
impl DMASet<StreamX<DMA2, 1_u8>, 7_u8, MemoryToPeripheral> for DMAR<TIM8>
impl DMASet<StreamX<DMA2, 1_u8>, 7_u8, PeripheralToMemory> for DMAR<TIM8>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, MemoryToMemory<u16>> for MemoryToMemory<u16>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, MemoryToMemory<u32>> for MemoryToMemory<u32>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, MemoryToMemory<u8>> for MemoryToMemory<u8>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, MemoryToPeripheral> for CCR1<TIM8>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, MemoryToPeripheral> for CCR2<TIM8>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, MemoryToPeripheral> for CCR3<TIM8>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, PeripheralToMemory> for CCR1<TIM8>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, PeripheralToMemory> for CCR2<TIM8>
impl DMASet<StreamX<DMA2, 2_u8>, 0_u8, PeripheralToMemory> for CCR3<TIM8>
impl DMASet<StreamX<DMA2, 2_u8>, 1_u8, PeripheralToMemory> for ADC2
impl DMASet<StreamX<DMA2, 2_u8>, 1_u8, PeripheralToMemory> for Adc<ADC3>
impl DMASet<StreamX<DMA2, 2_u8>, 3_u8, PeripheralToMemory> for SPI1
impl DMASet<StreamX<DMA2, 2_u8>, 3_u8, PeripheralToMemory> for Rx<SPI1>
impl DMASet<StreamX<DMA2, 2_u8>, 4_u8, PeripheralToMemory> for USART1
impl DMASet<StreamX<DMA2, 2_u8>, 4_u8, PeripheralToMemory> for Rx<USART1>
impl DMASet<StreamX<DMA2, 2_u8>, 5_u8, PeripheralToMemory> for USART6
impl DMASet<StreamX<DMA2, 2_u8>, 5_u8, PeripheralToMemory> for Rx<USART6>
impl DMASet<StreamX<DMA2, 2_u8>, 6_u8, MemoryToPeripheral> for CCR2<TIM1>
impl DMASet<StreamX<DMA2, 2_u8>, 6_u8, PeripheralToMemory> for CCR2<TIM1>
impl DMASet<StreamX<DMA2, 2_u8>, 7_u8, MemoryToPeripheral> for CCR1<TIM8>
impl DMASet<StreamX<DMA2, 2_u8>, 7_u8, PeripheralToMemory> for CCR1<TIM8>
impl DMASet<StreamX<DMA2, 3_u8>, 0_u8, MemoryToMemory<u16>> for MemoryToMemory<u16>
impl DMASet<StreamX<DMA2, 3_u8>, 0_u8, MemoryToMemory<u32>> for MemoryToMemory<u32>
impl DMASet<StreamX<DMA2, 3_u8>, 0_u8, MemoryToMemory<u8>> for MemoryToMemory<u8>
impl DMASet<StreamX<DMA2, 3_u8>, 1_u8, PeripheralToMemory> for ADC2
impl DMASet<StreamX<DMA2, 3_u8>, 1_u8, PeripheralToMemory> for Adc<ADC3>
impl DMASet<StreamX<DMA2, 3_u8>, 2_u8, PeripheralToMemory> for SPI5
impl DMASet<StreamX<DMA2, 3_u8>, 2_u8, PeripheralToMemory> for Rx<SPI5>
impl DMASet<StreamX<DMA2, 3_u8>, 3_u8, MemoryToPeripheral> for SPI1
impl DMASet<StreamX<DMA2, 3_u8>, 3_u8, MemoryToPeripheral> for Tx<SPI1>
impl DMASet<StreamX<DMA2, 3_u8>, 4_u8, MemoryToPeripheral> for SDIO
impl DMASet<StreamX<DMA2, 3_u8>, 4_u8, PeripheralToMemory> for SDIO
impl DMASet<StreamX<DMA2, 3_u8>, 5_u8, PeripheralToMemory> for SPI4
impl DMASet<StreamX<DMA2, 3_u8>, 5_u8, PeripheralToMemory> for Rx<SPI4>
impl DMASet<StreamX<DMA2, 3_u8>, 6_u8, MemoryToPeripheral> for CCR1<TIM1>
impl DMASet<StreamX<DMA2, 3_u8>, 6_u8, PeripheralToMemory> for CCR1<TIM1>
impl DMASet<StreamX<DMA2, 3_u8>, 7_u8, MemoryToPeripheral> for CCR2<TIM8>
impl DMASet<StreamX<DMA2, 3_u8>, 7_u8, PeripheralToMemory> for CCR2<TIM8>
impl DMASet<StreamX<DMA2, 4_u8>, 0_u8, MemoryToMemory<u16>> for MemoryToMemory<u16>
impl DMASet<StreamX<DMA2, 4_u8>, 0_u8, MemoryToMemory<u32>> for MemoryToMemory<u32>
impl DMASet<StreamX<DMA2, 4_u8>, 0_u8, MemoryToMemory<u8>> for MemoryToMemory<u8>
impl DMASet<StreamX<DMA2, 4_u8>, 0_u8, PeripheralToMemory> for ADC1
impl DMASet<StreamX<DMA2, 4_u8>, 2_u8, MemoryToPeripheral> for SPI5
impl DMASet<StreamX<DMA2, 4_u8>, 2_u8, MemoryToPeripheral> for Tx<SPI5>
impl DMASet<StreamX<DMA2, 4_u8>, 5_u8, MemoryToPeripheral> for SPI4
impl DMASet<StreamX<DMA2, 4_u8>, 5_u8, MemoryToPeripheral> for Tx<SPI4>
impl DMASet<StreamX<DMA2, 4_u8>, 6_u8, MemoryToPeripheral> for CCR4<TIM1>
impl DMASet<StreamX<DMA2, 4_u8>, 6_u8, MemoryToPeripheral> for DMAR<TIM1>
impl DMASet<StreamX<DMA2, 4_u8>, 6_u8, PeripheralToMemory> for CCR4<TIM1>
impl DMASet<StreamX<DMA2, 4_u8>, 6_u8, PeripheralToMemory> for DMAR<TIM1>
impl DMASet<StreamX<DMA2, 4_u8>, 7_u8, MemoryToPeripheral> for CCR3<TIM8>
impl DMASet<StreamX<DMA2, 4_u8>, 7_u8, PeripheralToMemory> for CCR3<TIM8>
impl DMASet<StreamX<DMA2, 5_u8>, 0_u8, MemoryToMemory<u16>> for MemoryToMemory<u16>
impl DMASet<StreamX<DMA2, 5_u8>, 0_u8, MemoryToMemory<u32>> for MemoryToMemory<u32>
impl DMASet<StreamX<DMA2, 5_u8>, 0_u8, MemoryToMemory<u8>> for MemoryToMemory<u8>
impl DMASet<StreamX<DMA2, 5_u8>, 1_u8, MemoryToPeripheral> for SPI6
impl DMASet<StreamX<DMA2, 5_u8>, 1_u8, MemoryToPeripheral> for Tx<SPI6>
impl DMASet<StreamX<DMA2, 5_u8>, 2_u8, PeripheralToMemory> for CRYP
impl DMASet<StreamX<DMA2, 5_u8>, 3_u8, MemoryToPeripheral> for SPI1
impl DMASet<StreamX<DMA2, 5_u8>, 3_u8, MemoryToPeripheral> for Tx<SPI1>
impl DMASet<StreamX<DMA2, 5_u8>, 4_u8, PeripheralToMemory> for USART1
impl DMASet<StreamX<DMA2, 5_u8>, 4_u8, PeripheralToMemory> for Rx<USART1>
impl DMASet<StreamX<DMA2, 5_u8>, 6_u8, MemoryToPeripheral> for DMAR<TIM1>
impl DMASet<StreamX<DMA2, 5_u8>, 6_u8, PeripheralToMemory> for DMAR<TIM1>
impl DMASet<StreamX<DMA2, 5_u8>, 7_u8, PeripheralToMemory> for SPI5
impl DMASet<StreamX<DMA2, 5_u8>, 7_u8, PeripheralToMemory> for Rx<SPI5>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, MemoryToMemory<u16>> for MemoryToMemory<u16>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, MemoryToMemory<u32>> for MemoryToMemory<u32>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, MemoryToMemory<u8>> for MemoryToMemory<u8>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, MemoryToPeripheral> for CCR1<TIM1>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, MemoryToPeripheral> for CCR2<TIM1>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, MemoryToPeripheral> for CCR3<TIM1>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, PeripheralToMemory> for CCR1<TIM1>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, PeripheralToMemory> for CCR2<TIM1>
impl DMASet<StreamX<DMA2, 6_u8>, 0_u8, PeripheralToMemory> for CCR3<TIM1>
impl DMASet<StreamX<DMA2, 6_u8>, 1_u8, PeripheralToMemory> for SPI6
impl DMASet<StreamX<DMA2, 6_u8>, 1_u8, PeripheralToMemory> for Rx<SPI6>
impl DMASet<StreamX<DMA2, 6_u8>, 2_u8, MemoryToPeripheral> for CRYP
impl DMASet<StreamX<DMA2, 6_u8>, 4_u8, MemoryToPeripheral> for SDIO
impl DMASet<StreamX<DMA2, 6_u8>, 4_u8, PeripheralToMemory> for SDIO
impl DMASet<StreamX<DMA2, 6_u8>, 5_u8, MemoryToPeripheral> for USART6
impl DMASet<StreamX<DMA2, 6_u8>, 5_u8, MemoryToPeripheral> for Tx<USART6>
impl DMASet<StreamX<DMA2, 6_u8>, 6_u8, MemoryToPeripheral> for CCR3<TIM1>
impl DMASet<StreamX<DMA2, 6_u8>, 6_u8, PeripheralToMemory> for CCR3<TIM1>
impl DMASet<StreamX<DMA2, 6_u8>, 7_u8, MemoryToPeripheral> for SPI5
impl DMASet<StreamX<DMA2, 6_u8>, 7_u8, MemoryToPeripheral> for Tx<SPI5>
impl DMASet<StreamX<DMA2, 7_u8>, 0_u8, MemoryToMemory<u16>> for MemoryToMemory<u16>
impl DMASet<StreamX<DMA2, 7_u8>, 0_u8, MemoryToMemory<u32>> for MemoryToMemory<u32>
impl DMASet<StreamX<DMA2, 7_u8>, 0_u8, MemoryToMemory<u8>> for MemoryToMemory<u8>
impl DMASet<StreamX<DMA2, 7_u8>, 1_u8, PeripheralToMemory> for DCMI
impl DMASet<StreamX<DMA2, 7_u8>, 2_u8, MemoryToPeripheral> for HASH
impl DMASet<StreamX<DMA2, 7_u8>, 4_u8, MemoryToPeripheral> for USART1
impl DMASet<StreamX<DMA2, 7_u8>, 4_u8, MemoryToPeripheral> for Tx<USART1>
impl DMASet<StreamX<DMA2, 7_u8>, 5_u8, MemoryToPeripheral> for USART6
impl DMASet<StreamX<DMA2, 7_u8>, 5_u8, MemoryToPeripheral> for Tx<USART6>
impl DMASet<StreamX<DMA2, 7_u8>, 7_u8, MemoryToPeripheral> for CCR4<TIM8>
impl DMASet<StreamX<DMA2, 7_u8>, 7_u8, MemoryToPeripheral> for DMAR<TIM8>
impl DMASet<StreamX<DMA2, 7_u8>, 7_u8, PeripheralToMemory> for CCR4<TIM8>
impl DMASet<StreamX<DMA2, 7_u8>, 7_u8, PeripheralToMemory> for DMAR<TIM8>
Auto Trait Implementations
impl<DMA, const S: u8> RefUnwindSafe for StreamX<DMA, S> where
DMA: RefUnwindSafe,
impl<DMA, const S: u8> Send for StreamX<DMA, S> where
DMA: Send,
impl<DMA, const S: u8> Sync for StreamX<DMA, S> where
DMA: Sync,
impl<DMA, const S: u8> Unpin for StreamX<DMA, S> where
DMA: Unpin,
impl<DMA, const S: u8> UnwindSafe for StreamX<DMA, S> where
DMA: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more