[][src]Enum esp_idf_bindgen::adc_bits_width_t

#[repr(u32)]pub enum adc_bits_width_t {
    ADC_WIDTH_BIT_9,
    ADC_WIDTH_BIT_10,
    ADC_WIDTH_BIT_11,
    ADC_WIDTH_BIT_12,
    ADC_WIDTH_MAX,
}

@brief ADC resolution setting option.

@note For ESP32S2. Only support 13 bit resolution. For ESP32. Don't support 13 bit resolution.

Variants

ADC_WIDTH_BIT_9

< ADC capture width is 9Bit. Only ESP32 is supported.

ADC_WIDTH_BIT_10

< ADC capture width is 10Bit. Only ESP32 is supported.

ADC_WIDTH_BIT_11

< ADC capture width is 11Bit. Only ESP32 is supported.

ADC_WIDTH_BIT_12

< ADC capture width is 12Bit. Only ESP32 is supported.

ADC_WIDTH_MAX

Trait Implementations

impl Clone for adc_bits_width_t[src]

impl Copy for adc_bits_width_t[src]

impl Debug for adc_bits_width_t[src]

impl Eq for adc_bits_width_t[src]

impl Hash for adc_bits_width_t[src]

impl PartialEq<adc_bits_width_t> for adc_bits_width_t[src]

impl StructuralEq for adc_bits_width_t[src]

impl StructuralPartialEq for adc_bits_width_t[src]

Auto Trait Implementations

impl Send for adc_bits_width_t

impl Sync for adc_bits_width_t

impl Unpin for adc_bits_width_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.