Trait esp_idf_svc::hal::gpio::ADCPin

source ·
pub trait ADCPin: ADCPin + Pin {
    type Adc: Adc;

    // Provided method
    fn adc_channel(&self) -> u32 { ... }
}
Expand description

A marker trait designating a pin which is capable of operating as an ADC pin

Required Associated Types§

Provided Methods§

source

fn adc_channel(&self) -> u32

Object Safety§

This trait is not object safe.

Implementors§