Type Alias Channel

Source
pub type Channel = Channel<Atmega, ADC>;
Expand description

Check the avr_hal_generic::adc::Channel documentation.

Aliased Type§

struct Channel { /* private fields */ }

Implementations

Source§

impl<H, ADC> Channel<H, ADC>
where ADC: AdcOps<H>,

Source

pub fn new<CH>(ch: CH) -> Channel<H, ADC>
where CH: AdcChannel<H, ADC>,

Trait Implementations

Source§

impl<H, ADC> AdcChannel<H, ADC> for Channel<H, ADC>
where ADC: AdcOps<H>,

Source§

fn channel(&self) -> <ADC as AdcOps<H>>::Channel