Enum alt_stm32f30x_hal::device::opamp::opamp2_csr::PGA_GAIN_A
source · [−]#[repr(u8)]
pub enum PGA_GAIN_A {
GAIN2,
GAIN4,
GAIN8,
GAIN16,
GAIN2_VM0,
GAIN4_VM0,
GAIN8_VM0,
GAIN16_VM0,
GAIN2_VM1,
GAIN4_VM1,
GAIN8_VM1,
GAIN16_VM1,
}
Expand description
Gain in PGA mode
Value on reset: 0
Variants
GAIN2
0: Gain 2
GAIN4
1: Gain 4
GAIN8
2: Gain 8
GAIN16
4: Gain 16
GAIN2_VM0
8: Gain 2, feedback connected to VM0
GAIN4_VM0
9: Gain 4, feedback connected to VM0
GAIN8_VM0
10: Gain 8, feedback connected to VM0
GAIN16_VM0
11: Gain 16, feedback connected to VM0
GAIN2_VM1
12: Gain 2, feedback connected to VM1
GAIN4_VM1
13: Gain 4, feedback connected to VM1
GAIN8_VM1
14: Gain 8, feedback connected to VM1
GAIN16_VM1
15: Gain 16, feedback connected to VM1
Trait Implementations
sourceimpl Clone for PGA_GAIN_A
impl Clone for PGA_GAIN_A
sourcefn clone(&self) -> PGA_GAIN_A
fn clone(&self) -> PGA_GAIN_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PGA_GAIN_A
impl Debug for PGA_GAIN_A
sourceimpl PartialEq<PGA_GAIN_A> for PGA_GAIN_A
impl PartialEq<PGA_GAIN_A> for PGA_GAIN_A
impl Copy for PGA_GAIN_A
impl StructuralPartialEq for PGA_GAIN_A
Auto Trait Implementations
impl RefUnwindSafe for PGA_GAIN_A
impl Send for PGA_GAIN_A
impl Sync for PGA_GAIN_A
impl Unpin for PGA_GAIN_A
impl UnwindSafe for PGA_GAIN_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more