[][src]Enum esp_idf_bindgen::adc_atten_t

#[repr(u32)]pub enum adc_atten_t {
    ADC_ATTEN_DB_0,
    ADC_ATTEN_DB_2_5,
    ADC_ATTEN_DB_6,
    ADC_ATTEN_DB_11,
    ADC_ATTEN_MAX,
}

@brief ADC attenuation parameter. Different parameters determine the range of the ADC. See adc1_config_channel_atten.

Variants

ADC_ATTEN_DB_0

<The input voltage of ADC will be reduced to about 1/1

ADC_ATTEN_DB_2_5

<The input voltage of ADC will be reduced to about 1/1.34

ADC_ATTEN_DB_6

<The input voltage of ADC will be reduced to about 1/2

ADC_ATTEN_DB_11

<The input voltage of ADC will be reduced to about 1/3.6

ADC_ATTEN_MAX

Trait Implementations

impl Clone for adc_atten_t[src]

impl Copy for adc_atten_t[src]

impl Debug for adc_atten_t[src]

impl Eq for adc_atten_t[src]

impl Hash for adc_atten_t[src]

impl PartialEq<adc_atten_t> for adc_atten_t[src]

impl StructuralEq for adc_atten_t[src]

impl StructuralPartialEq for adc_atten_t[src]

Auto Trait Implementations

impl Send for adc_atten_t

impl Sync for adc_atten_t

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