[][src]Enum esp_idf_bindgen::adc_unit_t

#[repr(u32)]pub enum adc_unit_t {
    ADC_UNIT_1,
    ADC_UNIT_2,
    ADC_UNIT_BOTH,
    ADC_UNIT_ALTER,
    ADC_UNIT_MAX,
}

@brief ADC units selected handle.

@note For ADC digital controller(DMA mode), ESP32 don't support ADC_UNIT_2, ADC_UNIT_BOTH, ADC_UNIT_ALTER.

Variants

ADC_UNIT_1

< SAR ADC 1.

ADC_UNIT_2

< SAR ADC 2.

ADC_UNIT_BOTH

< SAR ADC 1 and 2.

ADC_UNIT_ALTER

< SAR ADC 1 and 2 alternative mode, not supported yet

ADC_UNIT_MAX

Trait Implementations

impl Clone for adc_unit_t[src]

impl Copy for adc_unit_t[src]

impl Debug for adc_unit_t[src]

impl Eq for adc_unit_t[src]

impl Hash for adc_unit_t[src]

impl PartialEq<adc_unit_t> for adc_unit_t[src]

impl StructuralEq for adc_unit_t[src]

impl StructuralPartialEq for adc_unit_t[src]

Auto Trait Implementations

impl Send for adc_unit_t

impl Sync for adc_unit_t

impl Unpin for adc_unit_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.