Struct esp32c2_hal::peripherals::DMA
source · pub struct DMA { /* private fields */ }
Implementations§
source§impl DMA
impl DMA
sourcepub unsafe fn steal() -> DMA
pub unsafe fn steal() -> DMA
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Trait Implementations§
source§impl Peripheral for DMA
impl Peripheral for DMA
Auto Trait Implementations§
impl RefUnwindSafe for DMA
impl Send for DMA
impl Sync for DMA
impl Unpin for DMA
impl UnwindSafe for DMA
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