Trait esp_idf_hal::gpio::ADCPin
source · pub trait ADCPin: ADCPin + Pin {
type Adc: Adc;
// Provided method
fn adc_channel(&self) -> adc_channel_t { ... }
}
Expand description
A marker trait designating a pin which is capable of operating as an ADC pin
Required Associated Types§
Provided Methods§
fn adc_channel(&self) -> adc_channel_t
Object Safety§
This trait is not object safe.