[][src]Struct lpc82x_hal::dma::DMA

pub struct DMA { /* fields omitted */ }

Entry point to the DMA API

Methods

impl DMA[src]

pub fn split(self, descriptors: &'static mut DescriptorTable) -> Parts[src]

Splits the DMA API into its component parts

This is the regular way to access the DMA API. It exists as an explicit step, as it's no longer possible to gain access to the raw peripheral using DMA::free after you've called this method.

pub fn free(self) -> DMA[src]

Return the raw peripheral

This method serves as an escape hatch from the HAL API. It returns the raw peripheral, allowing you to do whatever you want with it, without limitations imposed by the API.

If you are using this method because a feature you need is missing from the HAL API, please open an issue or, if an issue for your feature request already exists, comment on the existing issue, so we can prioritize it accordingly.

Auto Trait Implementations

impl Send for DMA

impl !Sync for DMA

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]