Enum mcp3425::Gain
[−]
[src]
pub enum Gain { Gain1, Gain2, Gain4, Gain8, }
Programmable gain amplifier (PGA)
Defaults to no amplification (Gain1
),
matching the power-on defaults of the device.
Variants
Gain1
Amplification factor 1.
Gain2
Amplification factor 2.
Gain4
Amplification factor 4.
Gain8
Amplification factor 8.
Methods
impl Gain
[src]
Trait Implementations
impl Debug for Gain
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for Gain
[src]
impl Clone for Gain
[src]
fn clone(&self) -> Gain
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more