pub trait AdcChannel {
    // Required method
    fn adc_channel(&self) -> u8;
}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
Implementors§
impl AdcChannel for GPIO0<'_>
Available on crate feature 
unstable only.impl AdcChannel for GPIO1<'_>
Available on crate feature 
unstable only.impl AdcChannel for GPIO2<'_>
Available on crate feature 
unstable only.impl AdcChannel for GPIO3<'_>
Available on crate feature 
unstable only.impl AdcChannel for GPIO4<'_>
Available on crate feature 
unstable only.impl AdcChannel for GPIO5<'_>
Available on crate feature 
unstable only.impl AdcChannel for GPIO6<'_>
Available on crate feature 
unstable only.