Enum stm32_metapac::opamp::vals::PgaGain
#[repr(u8)]pub enum PgaGain {
Show 16 variants
GAIN2 = 0,
GAIN4 = 1,
GAIN8 = 2,
GAIN16 = 3,
GAIN2_FILTERINGVINM0 = 4,
GAIN4_FILTERINGVINM0 = 5,
GAIN8_FILTERINGVINM0 = 6,
GAIN16_FILTERINGVINM0 = 7,
GAIN2INVGAINNEG1_INPUTVINM0 = 8,
GAIN4INVGAINNEG3_INPUTVINM0 = 9,
GAIN8INVGAINNEG7_INPUTVINM0 = 10,
GAIN16INVGAINNEG15_INPUTVINM0 = 11,
GAIN2INVGAINNEG1_INPUTVINM0FILTERINGVINM1 = 12,
GAIN4INVGAINNEG3_INPUTVINM0FILTERINGVINM1 = 13,
GAIN8INVGAINNEG7_INPUTVINM0FILTERINGVINM1 = 14,
GAIN16INVGAINNEG15_INPUTVINM0FILTERINGVINM1 = 15,
}
Variants§
GAIN2 = 0
Non-inverting internal Gain 2, VREF- referenced
GAIN4 = 1
Non-inverting internal Gain 4, VREF- referenced
GAIN8 = 2
Non-inverting internal Gain 8, VREF- referenced
GAIN16 = 3
Non-inverting internal Gain 16, VREF- referenced
GAIN2_FILTERINGVINM0 = 4
Non-inverting internal Gain 2 with filtering on INM0, VREF- referenced
GAIN4_FILTERINGVINM0 = 5
Non-inverting internal Gain 4 with filtering on INM0, VREF- referenced
GAIN8_FILTERINGVINM0 = 6
Non-inverting internal Gain 8 with filtering on INM0, VREF- referenced
GAIN16_FILTERINGVINM0 = 7
Non-inverting internal Gain 8 with filtering on INM0, VREF- referenced
GAIN2INVGAINNEG1_INPUTVINM0 = 8
Inverting gain=-1/ Non-inverting gain =2 with INM0 node for input or bias
GAIN4INVGAINNEG3_INPUTVINM0 = 9
Inverting gain=-3/ Non-inverting gain =4 with INM0 node for input or bias
GAIN8INVGAINNEG7_INPUTVINM0 = 10
Inverting gain=-7/ Non-inverting gain =8 with INM0 node for input or bias
GAIN16INVGAINNEG15_INPUTVINM0 = 11
Inverting gain=-15/ Non-inverting gain =16 with INM0 node for input or bias
GAIN2INVGAINNEG1_INPUTVINM0FILTERINGVINM1 = 12
Inverting gain=-1/ Non-inverting gain =2 with INM0 node for input or bias, INM1 node for filtering
GAIN4INVGAINNEG3_INPUTVINM0FILTERINGVINM1 = 13
Inverting gain=-3/ Non-inverting gain =4 with INM0 node for input or bias, INM1 node for filtering
GAIN8INVGAINNEG7_INPUTVINM0FILTERINGVINM1 = 14
Inverting gain=-7/ Non-inverting gain =8 with INM0 node for input or bias, INM1 node for filtering
GAIN16INVGAINNEG15_INPUTVINM0FILTERINGVINM1 = 15
Inverting gain=-15/ Non-inverting gain =16 with INM0 node for input or bias, INM1 node for filtering
Implementations§
Trait Implementations§
§impl Ord for PgaGain
impl Ord for PgaGain
§impl PartialOrd for PgaGain
impl PartialOrd for PgaGain
impl Copy for PgaGain
impl Eq for PgaGain
impl StructuralPartialEq for PgaGain
Auto Trait Implementations§
impl Freeze for PgaGain
impl RefUnwindSafe for PgaGain
impl Send for PgaGain
impl Sync for PgaGain
impl Unpin for PgaGain
impl UnwindSafe for PgaGain
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)