Struct lpc55_hal::peripherals::dma::Dma [−][src]
pub struct Dma<State = Unknown> { pub _state: State, // some fields omitted }
Fields
_state: State
Implementations
impl<State> Dma<State>
[src]
impl<State> Dma<State>
[src]pub fn enabled(self, syscon: &mut Syscon) -> Dma<Enabled>
[src]
pub fn disabled(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]
&mut self,
adc: &mut Adc<Enabled>,
timer: &mut impl Ctimer<Enabled>,
recv_buf: &mut [u32]
)
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