Struct lpc55_hal::peripherals::dma::Dma[][src]

pub struct Dma<State = Unknown> {
    pub _state: State,
    // some fields omitted
}

Fields

_state: State

Implementations

impl Dma[src]

pub unsafe fn steal() -> Self[src]

impl<State> Dma<State>[src]

pub fn release(self) -> DMA0[src]

impl<State> Dma<State>[src]

pub fn enabled(mut self: Self, syscon: &mut Syscon) -> Dma<Enabled>[src]

pub fn disabled(mut self: Self, syscon: &mut Syscon) -> Dma<Disabled>[src]

pub fn configure_adc(
    &mut self,
    adc: &mut Adc<Enabled>,
    timer: &mut impl Ctimer<Enabled>,
    recv_buf: &mut [u32]
)
[src]

Configures DMA to write any new results from ADC FIFO 0 to a user supplied array in circular fashion. Runs continuously. Timer is reset at the end of each ADC DMA transaction

Trait Implementations

impl From<DMA0> for Dma[src]

Auto Trait Implementations

impl<State> Send for Dma<State> where
    State: Send
[src]

impl<State = Unknown> !Sync for Dma<State>[src]

impl<State> Unpin for Dma<State> where
    State: Unpin
[src]

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.