Enum stm32f412g::dma::ChannelId
source · #[repr(u32)]pub enum ChannelId {
Channel0 = 0,
Channel1 = 1,
Channel2 = 2,
Channel3 = 3,
Channel4 = 4,
Channel5 = 5,
Channel6 = 6,
Channel7 = 7,
}
Expand description
Each stream can be selected among up to eight channel requests. This is basically STM32F446RE’s way of selecting the peripheral for the stream. Nevertheless, the use of the term channel here is confusing. Table 28 describes the mapping between stream, channel, and peripherals.
Variants§
Channel0 = 0
Channel1 = 1
Channel2 = 2
Channel3 = 3
Channel4 = 4
Channel5 = 5
Channel6 = 6
Channel7 = 7
Auto Trait Implementations§
impl Freeze for ChannelId
impl RefUnwindSafe for ChannelId
impl Send for ChannelId
impl Sync for ChannelId
impl Unpin for ChannelId
impl UnwindSafe for ChannelId
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