#[repr(u8)]pub enum StreamId {
Stream0 = 0,
Stream1 = 1,
Stream2 = 2,
Stream3 = 3,
Stream4 = 4,
Stream5 = 5,
Stream6 = 6,
Stream7 = 7,
}
Expand description
The DMA stream number. What other microcontrollers refer to as “channel”, STM32F446RE refers to as “streams”. STM32F446RE has eight streams. A stream transfers data between memory and peripheral.
Variants§
Trait Implementations§
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 From<Dma2Peripheral> for StreamId
impl From<Dma2Peripheral> for StreamId
Source§fn from(pid: Dma2Peripheral) -> StreamId
fn from(pid: Dma2Peripheral) -> StreamId
Converts to this type from the input type.
impl Copy for StreamId
impl Eq for StreamId
impl StructuralPartialEq for StreamId
Auto Trait Implementations§
impl Freeze for StreamId
impl RefUnwindSafe for StreamId
impl Send for StreamId
impl Sync for StreamId
impl Unpin for StreamId
impl UnwindSafe for StreamId
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