Struct lpc55_hal::peripherals::dma::Dma [−][src]
Fields
_state: State
Implementations
impl Dma
[src]
impl<State> Dma<State>
[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]
&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
Trait Implementations
Auto Trait Implementations
impl<State> Send for Dma<State> where
State: Send,
[src]
State: Send,
impl<State = Unknown> !Sync for Dma<State>
[src]
impl<State> Unpin for Dma<State> where
State: Unpin,
[src]
State: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,