Skip to main content

AdcChannel

Trait AdcChannel 

Source
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§

Source

fn adc_channel(&self) -> u8

Channel number used by the ADC

Implementors§

Source§

impl AdcChannel for GPIO0<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO2<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO4<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO12<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO13<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO14<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO15<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO25<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO26<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO27<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO32<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO33<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO34<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO35<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO36<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO37<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO38<'_>

Available on crate feature unstable only.
Source§

impl AdcChannel for GPIO39<'_>

Available on crate feature unstable only.