esp_idf_hal::adc

Trait Adc

Source
pub trait Adc: Send {
    // Required method
    fn unit() -> adc_unit_t;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Adc for ADC1

Source§

impl Adc for ADC2