AdcChannel

Trait AdcChannel 

Source
pub trait AdcChannel {
    // Required method
    fn adc_channel(&self) -> u8;
}
Available on crate feature unstable only.
Expand description

A helper trait to get the ADC channel of a compatible GPIO pin.

Required Methods§

Source

fn adc_channel(&self) -> u8

Channel number used by the ADC

Implementors§