Struct embassy_stm32::dma::NoDma
source · pub struct NoDma;
Expand description
“No DMA” placeholder.
You may pass this in place of a real DMA channel when creating a driver to indicate it should not use DMA.
This often causes async functionality to not be available on the instance, leaving only blocking functionality.
Trait Implementations§
source§impl Peripheral for NoDma
impl Peripheral for NoDma
Auto Trait Implementations§
impl Freeze for NoDma
impl RefUnwindSafe for NoDma
impl Send for NoDma
impl Sync for NoDma
impl Unpin for NoDma
impl UnwindSafe for NoDma
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