pub enum Dma1Peripheral {
USART2_TX,
USART2_RX,
USART3_TX,
USART3_RX,
SPI3_TX,
SPI3_RX,
}
Expand description
List of peripherals managed by DMA1
Variants§
Implementations§
Source§impl Dma1Peripheral
impl Dma1Peripheral
pub fn get_stream_irqn(&self) -> u32
pub fn get_stream_idx(&self) -> usize
Trait Implementations§
Source§impl Clone for Dma1Peripheral
impl Clone for Dma1Peripheral
Source§fn clone(&self) -> Dma1Peripheral
fn clone(&self) -> Dma1Peripheral
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Dma1Peripheral
impl Debug for Dma1Peripheral
Source§impl From<Dma1Peripheral> for StreamId
impl From<Dma1Peripheral> for StreamId
Source§fn from(pid: Dma1Peripheral) -> StreamId
fn from(pid: Dma1Peripheral) -> StreamId
Converts to this type from the input type.
Source§impl PartialEq for Dma1Peripheral
impl PartialEq for Dma1Peripheral
Source§impl StreamPeripheral for Dma1Peripheral
impl StreamPeripheral for Dma1Peripheral
impl Copy for Dma1Peripheral
impl StructuralPartialEq for Dma1Peripheral
Auto Trait Implementations§
impl Freeze for Dma1Peripheral
impl RefUnwindSafe for Dma1Peripheral
impl Send for Dma1Peripheral
impl Sync for Dma1Peripheral
impl Unpin for Dma1Peripheral
impl UnwindSafe for Dma1Peripheral
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