AdcDma

Type Alias AdcDma 

Source
pub type AdcDma<ADC, PINS, MODE, CHANNEL> = RxDma<AdcPayload<ADC, PINS, MODE>, CHANNEL>;

Aliased Type§

pub struct AdcDma<ADC, PINS, MODE, CHANNEL> {
    pub channel: CHANNEL,
    /* private fields */
}

Fields§

§channel: CHANNEL

Implementations§

Source§

impl<PINS> AdcDma<ADC1, PINS, Continuous, C1>
where Self: TransferPayload,

Source

pub fn split(self) -> (Adc<ADC1>, PINS, C1)

Source§

impl<PINS> AdcDma<ADC1, PINS, Scan, C1>
where Self: TransferPayload,

Source

pub fn split(self) -> (Adc<ADC1>, PINS, C1)

Source§

impl<PINS> AdcDma<ADC3, PINS, Continuous, C5>
where Self: TransferPayload,

Source

pub fn split(self) -> (Adc<ADC3>, PINS, C5)

Source§

impl<PINS> AdcDma<ADC3, PINS, Scan, C5>
where Self: TransferPayload,

Source

pub fn split(self) -> (Adc<ADC3>, PINS, C5)

Trait Implementations§

Source§

impl<B, PINS, MODE> CircReadDma<B, u16> for AdcDma<ADC1, PINS, MODE, C1>
where Self: TransferPayload, &'static mut [B; 2]: WriteBuffer<Word = u16>, B: 'static,

Source§

fn circ_read(self, buffer: &'static mut [B; 2]) -> CircBuffer<B, Self>

Source§

impl<B, PINS, MODE> CircReadDma<B, u16> for AdcDma<ADC3, PINS, MODE, C5>
where Self: TransferPayload, &'static mut [B; 2]: WriteBuffer<Word = u16>, B: 'static,

Source§

fn circ_read(self, buffer: &'static mut [B; 2]) -> CircBuffer<B, Self>

Source§

impl<B, PINS, MODE> ReadDma<B, u16> for AdcDma<ADC1, PINS, MODE, C1>
where Self: TransferPayload, B: WriteBuffer<Word = u16>,

Source§

fn read(self, buffer: B) -> Transfer<W, B, Self>

Source§

impl<B, PINS, MODE> ReadDma<B, u16> for AdcDma<ADC3, PINS, MODE, C5>
where Self: TransferPayload, B: WriteBuffer<Word = u16>,

Source§

fn read(self, buffer: B) -> Transfer<W, B, Self>

Source§

impl<PINS, MODE> Receive for AdcDma<ADC1, PINS, MODE, C1>

Source§

impl<PINS, MODE> Receive for AdcDma<ADC3, PINS, MODE, C5>

Source§

impl<PINS> TransferPayload for AdcDma<ADC1, PINS, Continuous, C1>

Source§

fn start(&mut self)

Source§

fn stop(&mut self)

Source§

impl<PINS> TransferPayload for AdcDma<ADC1, PINS, Scan, C1>

Source§

fn start(&mut self)

Source§

fn stop(&mut self)

Source§

impl<PINS> TransferPayload for AdcDma<ADC3, PINS, Continuous, C5>

Source§

fn start(&mut self)

Source§

fn stop(&mut self)

Source§

impl<PINS> TransferPayload for AdcDma<ADC3, PINS, Scan, C5>

Source§

fn start(&mut self)

Source§

fn stop(&mut self)