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§
Sourcefn adc_channel(&self) -> u8
fn adc_channel(&self) -> u8
Channel number used by the ADC