#[non_exhaustive]pub struct ChannelCreator<const N: u8> {}Expand description
A Channel can be created from this
Implementations§
Source§impl ChannelCreator<0>
impl ChannelCreator<0>
Sourcepub fn configure<'a>(
self,
burst_mode: bool,
priority: DmaPriority,
) -> Channel<'a, Blocking, DmaChannel0>
pub fn configure<'a>( self, burst_mode: bool, priority: DmaPriority, ) -> Channel<'a, Blocking, DmaChannel0>
Configure the channel for use with blocking APIs
Source§impl ChannelCreator<1>
impl ChannelCreator<1>
Sourcepub fn configure<'a>(
self,
burst_mode: bool,
priority: DmaPriority,
) -> Channel<'a, Blocking, DmaChannel1>
pub fn configure<'a>( self, burst_mode: bool, priority: DmaPriority, ) -> Channel<'a, Blocking, DmaChannel1>
Configure the channel for use with blocking APIs
Source§impl ChannelCreator<2>
impl ChannelCreator<2>
Sourcepub fn configure<'a>(
self,
burst_mode: bool,
priority: DmaPriority,
) -> Channel<'a, Blocking, DmaChannel2>
pub fn configure<'a>( self, burst_mode: bool, priority: DmaPriority, ) -> Channel<'a, Blocking, DmaChannel2>
Configure the channel for use with blocking APIs
Auto Trait Implementations§
impl<const N: u8> Freeze for ChannelCreator<N>
impl<const N: u8> RefUnwindSafe for ChannelCreator<N>
impl<const N: u8> Send for ChannelCreator<N>
impl<const N: u8> Sync for ChannelCreator<N>
impl<const N: u8> Unpin for ChannelCreator<N>
impl<const N: u8> UnwindSafe for ChannelCreator<N>
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