Enum esp32c2_hal::adc::Attenuation
source · pub enum Attenuation {
Attenuation0dB,
Attenuation2p5dB,
Attenuation6dB,
Attenuation11dB,
}
Expand description
The attenuation of the ADC pin
Variants§
Trait Implementations§
source§impl Clone for Attenuation
impl Clone for Attenuation
source§fn clone(&self) -> Attenuation
fn clone(&self) -> Attenuation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<Attenuation> for Attenuation
impl PartialEq<Attenuation> for Attenuation
source§fn eq(&self, other: &Attenuation) -> bool
fn eq(&self, other: &Attenuation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.